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/*
10 * (author) M Kersten, N Nes
11 */
12#ifndef _SQL_TRANSACTION_H
13#define _SQL_TRANSACTION_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
25#include "sql.h"
26#include "mal_backend.h"
27#include "sql_atom.h"
28#include "sql_statement.h"
29#include "sql_env.h"
30#include "sql_mvc.h"
31#include "mal_function.h"
32
33sql5_export str SQLtransaction_begin(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) ;
34sql5_export str SQLtransaction_release(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) ;
35sql5_export str SQLtransaction_commit(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) ;
36sql5_export str SQLtransaction_rollback(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) ;
37
38#endif /* _SQL_TRANSACTION_H */
39
40