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 _OLTP_H |
10 | #define _OLTP_H |
11 | |
12 | #include "gdk.h" |
13 | #include <time.h> |
14 | #include "mal_exception.h" |
15 | #include "mal_interpreter.h" |
16 | |
17 | #define _DEBUG_OLTP_ |
18 | |
19 | mal_export str OLTPinit(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
20 | mal_export str OLTPreset(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
21 | mal_export str OLTPenable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
22 | mal_export str OLTPdisable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
23 | mal_export str OLTPlock(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
24 | mal_export str OLTPrelease(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
25 | mal_export str OLTPtable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
26 | mal_export str OLTPis_enabled(int *ret); |
27 | #endif /* _OLTP_H */ |
28 | |