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 _MAL_SESSION_H
10#define _MAL_SESSION_H
11
12#include "mal_scenario.h"
13
14mal_export str malBootstrap(void);
15mal_export str MSserveClient(Client cntxt);
16mal_export str MSinitClientPrg(Client cntxt, str mod, str nme);
17mal_export void MSscheduleClient(str command, str challenge, bstream *fin, stream *fout, protocol_version protocol, size_t blocksize);
18
19mal_export str MALreader(Client c);
20mal_export str MALinitClient(Client c);
21mal_export str MALexitClient(Client c);
22mal_export str MALparser(Client c);
23mal_export str MALengine(Client c);
24mal_export str MALcallback(Client c, str msg);
25mal_export void MSresetInstructions(MalBlkPtr mb, int start);
26mal_export void MSresetVariables(Client cntxt, MalBlkPtr mb, MalStkPtr glb, int start);
27mal_export int MALcommentsOnly(MalBlkPtr mb);
28
29#endif /* _MAL_SESSION_H */
30
31