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 _INSPECT_H |
10 | #define _INSPECT_H |
11 | |
12 | #include "gdk.h" |
13 | #include <time.h> |
14 | #include "mal_resolve.h" |
15 | #include "mal_client.h" |
16 | #include "mal_exception.h" |
17 | #include "mal_debugger.h" |
18 | #include "mal_interpreter.h" |
19 | #include "mal_listing.h" |
20 | #include "mal_namespace.h" |
21 | |
22 | mal_export str INSPECTgetkind(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
23 | mal_export str INSPECTgetAllSignatures(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
24 | mal_export str INSPECTgetAllModules(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
25 | mal_export str INSPECTgetAllFunctions(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
26 | mal_export str INSPECTgetAllAddresses(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
27 | mal_export str INSPECTgetDefinition(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
28 | mal_export str INSPECTgetSignature(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
29 | mal_export str INSPECTgetAddress(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
30 | mal_export str (Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
31 | mal_export str INSPECTgetSource(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
32 | mal_export str INSPECTgetFunctionSize(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p); |
33 | mal_export str INSPECTgetSize(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p); |
34 | mal_export str INSPECTgetEnvironment(bat *ret, bat *ret2); |
35 | mal_export str INSPECTgetEnvironmentKey(str *ret, str *key); |
36 | mal_export str INSPECTatom_names(bat *ret); |
37 | mal_export str INSPECTatom_sup_names(bat *ret); |
38 | mal_export str INSPECTatom_sizes(bat *ret); |
39 | mal_export str INSPECTshowFunction(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p); |
40 | mal_export str INSPECTshowFunction3(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p); |
41 | mal_export str INSPECTtypeName(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
42 | mal_export str INSPECTequalType(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); |
43 | #endif /* _INSPECT_H */ |
44 | |