| 1 | /* |
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | * |
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _QLOG_H |
| 10 | #define _QLOG_H |
| 11 | #include "mal.h" |
| 12 | #include "mal_interpreter.h" |
| 13 | |
| 14 | mal_export str initQlog(void); |
| 15 | mal_export str QLOGcatalog(BAT **r); |
| 16 | mal_export str QLOGcalls(BAT **r); |
| 17 | mal_export str QLOGenable(void *ret); |
| 18 | mal_export str QLOGenableThreshold(void *ret, int *threshold); |
| 19 | mal_export str QLOGdisable(void *ret); |
| 20 | mal_export int QLOGisset(void); |
| 21 | mal_export str QLOGissetFcn(int *ret); |
| 22 | mal_export str QLOGempty(void *ret); |
| 23 | mal_export str QLOGappend(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
| 24 | mal_export str QLOGdefineNaive(void *ret, str *qry, str *opt, int *nr); |
| 25 | mal_export str QLOGcontextNaive(void *ret, str *release, str *version, str *revision, str *uri); |
| 26 | mal_export str QLOGcall(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
| 27 | |
| 28 | #endif /* _QLOG_H */ |
| 29 | |