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/* (co) M.L. Kersten */
10#ifndef _SQL_SESSION
11#define _SQL_SESSION
12
13#include "sql.h"
14
15#ifdef WIN32
16#ifndef LIBSQL
17#define sql5_export extern __declspec(dllimport)
18#else
19#define sql5_export extern __declspec(dllexport)
20#endif
21#else
22#define sql5_export extern
23#endif
24
25sql5_export str SQLsetoptimizer(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
26sql5_export str SQLsetworkerlimit(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
27sql5_export str SQLsetmemorylimit(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
28sql5_export str SQLqueryTimeout(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
29sql5_export str SQLsessionTimeout(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
30
31#endif /* _SQL_SESSION */
32