| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#ifndef SUP_INCLUDED |
| 23 |
#define SUP_INCLUDED |
| 24 |
|
| 25 |
#ifndef TOK_INCLUDED |
| 26 |
#include "tok.h" |
| 27 |
#endif |
| 28 |
#ifndef MCM_INCLUDED |
| 29 |
#include "mcm.h" |
| 30 |
#endif |
| 31 |
#ifndef OBJ_INCLUDED |
| 32 |
#include "obj.h" |
| 33 |
#endif |
| 34 |
#ifndef PRP_INCLUDED |
| 35 |
#include "prp.h" |
| 36 |
#endif |
| 37 |
#ifndef VOC_INCLUDED |
| 38 |
#include "voc.h" |
| 39 |
#endif |
| 40 |
|
| 41 |
|
| 42 |
struct supcxdef |
| 43 |
{ |
| 44 |
errcxdef *supcxerr; |
| 45 |
mcmcxdef *supcxmem; |
| 46 |
voccxdef *supcxvoc; |
| 47 |
tokthdef *supcxtab; |
| 48 |
runcxdef *supcxrun; |
| 49 |
uchar *supcxbuf; |
| 50 |
ushort supcxlen; |
| 51 |
}; |
| 52 |
typedef struct supcxdef supcxdef; |
| 53 |
|
| 54 |
|
| 55 |
void supcont(void *ctx, objnum obj, prpnum prp); |
| 56 |
|
| 57 |
|
| 58 |
void supivoc(supcxdef *ctx); |
| 59 |
|
| 60 |
|
| 61 |
void supfind(errcxdef *ctx, tokthdef *tab, voccxdef *voc, |
| 62 |
objnum *preinit, int warnlevel, int casefold); |
| 63 |
|
| 64 |
|
| 65 |
void suprsrv(supcxdef *sup, void (*bif[])(struct bifcxdef *, int), |
| 66 |
toktdef *tab, int fncntmax, int v1compat, char *new_do, |
| 67 |
int casefold); |
| 68 |
|
| 69 |
|
| 70 |
void supbif(supcxdef *sup, void (*bif[])(struct bifcxdef *, int), |
| 71 |
int bifsiz); |
| 72 |
|
| 73 |
|
| 74 |
void sup_log_undefobj(mcmcxdef *mctx, errcxdef *ec, int err, |
| 75 |
char *sym_name, int sym_name_len, objnum objn); |
| 76 |
|
| 77 |
|
| 78 |
void supivoc1(supcxdef *sup, voccxdef *ctx, vocidef *v, objnum target, |
| 79 |
int inh_from_obj, int flags); |
| 80 |
|
| 81 |
|
| 82 |
void supgnam(char *buf, tokthdef *tab, objnum objn); |
| 83 |
|
| 84 |
|
| 85 |
typedef struct supbidef supbidef; |
| 86 |
struct supbidef |
| 87 |
{ |
| 88 |
char *supbinam; |
| 89 |
void (*supbifn)(struct bifcxdef *, int); |
| 90 |
}; |
| 91 |
|
| 92 |
|
| 93 |
extern tokldef supsctab[]; |
| 94 |
|
| 95 |
#endif |