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
14mal_export str initQlog(void);
15mal_export str QLOGcatalog(BAT **r);
16mal_export str QLOGcalls(BAT **r);
17mal_export str QLOGenable(void *ret);
18mal_export str QLOGenableThreshold(void *ret, int *threshold);
19mal_export str QLOGdisable(void *ret);
20mal_export int QLOGisset(void);
21mal_export str QLOGissetFcn(int *ret);
22mal_export str QLOGempty(void *ret);
23mal_export str QLOGappend(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
24mal_export str QLOGdefineNaive(void *ret, str *qry, str *opt, int *nr);
25mal_export str QLOGcontextNaive(void *ret, str *release, str *version, str *revision, str *uri);
26mal_export str QLOGcall(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
27
28#endif /* _QLOG_H */
29