tools/genmodule: Remember and restore memory slots in resp. OpenLib, CloseLib.
[AROS.git] / tools / genmodule / genmodule.h
blobc6daf28663c87b065e1d2a728714755f4712a69d
1 #ifndef GENMODULE_H
2 #define GENMODULE_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
7 Desc: global include for genmodule. Defines global variables and
8 the function prototypes.
9 */
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <string.h>
13 #include <ctype.h>
15 #include "functionhead.h"
16 #include "config.h"
18 void writemakefile(struct config *);
19 void writeincproto(struct config *, int);
20 void writeincclib(struct config *);
21 void writeincdefines(struct config *);
22 void writeincinline(struct config *);
23 void writeinclibdefs(struct config *);
24 void writestart(struct config *);
25 void writeend(struct config *);
26 void writeautoinit(struct config *, int);
27 void writestubs(struct config *, int);
28 void writefunclist(struct config *);
29 void writefd(struct config *);
30 void writeskel(struct config *cfg);
31 void writedefinestack(FILE *out, struct functionhead *funclistit, struct config *cfg);
33 #endif