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 | * In most cases we pass a BAT identifier, which should be unified |
11 | * with a BAT descriptor. Upon failure we can simply abort the function. |
12 | */ |
13 | #ifndef _BBP_H_ |
14 | #define _BBP_H_ |
15 | #include "mal.h" |
16 | #include "mal_client.h" |
17 | #include "mal_interpreter.h" |
18 | #include "mal_module.h" |
19 | #include "mal_session.h" |
20 | #include "mal_resolve.h" |
21 | #include "mal_client.h" |
22 | #include "mal_interpreter.h" |
23 | #include "mal_profiler.h" |
24 | #include "bat5.h" |
25 | |
26 | #ifdef _MSC_VER |
27 | #define getcwd _getcwd |
28 | #endif |
29 | |
30 | mal_export str CMDbbpbind(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
31 | mal_export str CMDbbpDiskSpace(lng *ret); |
32 | mal_export str CMDgetPageSize(int *ret); |
33 | mal_export str CMDbbpNames(bat *ret); |
34 | mal_export str CMDbbpName(str *ret, bat *bid); |
35 | mal_export str CMDbbpCount(bat *ret); |
36 | mal_export str CMDbbpLocation(bat *ret); |
37 | mal_export str CMDbbpDirty(bat *ret); |
38 | mal_export str CMDbbpStatus(bat *ret); |
39 | mal_export str CMDbbpKind(bat *ret); |
40 | mal_export str CMDbbpRefCount(bat *ret); |
41 | mal_export str CMDbbpLRefCount(bat *ret); |
42 | mal_export str CMDbbpgetIndex(int *res, bat *bid); |
43 | mal_export str CMDgetBATrefcnt(int *res, bat *bid); |
44 | mal_export str CMDgetBATlrefcnt(int *res, bat *bid); |
45 | mal_export str CMDbbp(bat *ID, bat *NS, bat *TT, bat *CNT, bat *REFCNT, bat *LREFCNT, bat *LOCATION, bat *HEAT, bat *DIRTY, bat *STATUS, bat *KIND); |
46 | mal_export str CMDsetName(str *rname, const bat *b, str *name); |
47 | #endif /* _BBP_H_*/ |
48 | |