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 _TKNZR_H |
10 | #define _TKNZR_H |
11 | #include "mal.h" |
12 | #include "mal_client.h" |
13 | #include "mal_interpreter.h" |
14 | |
15 | mal_export str TKNZRopen (void *r, str *name); |
16 | mal_export str TKNZRclose (void *r); |
17 | mal_export str TKNZRappend (oid *pos, str *tuple); |
18 | mal_export str TKNZRlocate (Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
19 | mal_export str TKNZRtakeOid (Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
20 | mal_export str TKNZRdepositFile (void *r, str *fnme); |
21 | mal_export str TKNZRgetLevel (bat *r, int *level); |
22 | mal_export str TKNZRgetIndex (bat *r); |
23 | mal_export str TKNZRgetCount (bat *r); |
24 | mal_export str TKNZRgetCardinality (bat *r); |
25 | mal_export str takeOid (oid id, str *val); |
26 | |
27 | #endif /* _TKNZR_H */ |
28 | |