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