Initial version of email gateway under CVS control.
[egate.git] / res+log / gw-resp.h
1 /*
2    gw-res.h: Private header file for resource management.
3
4    Europagate, 1994-1995.
5
6    $Log: gw-resp.h,v $
7    Revision 1.1.1.1  1995/02/09 17:27:12  adam
8    Initial version of email gateway under CVS control.
9
10
11    Initial:       Dec  7, 94 (Adam Dickmeiss)
12    Last update:   Dec 13, 94 (Adam Dickmeiss)
13  */
14
15 #include <gw-res.h>
16
17 enum res_kind {
18     comment,
19     blank,
20     resource
21 };
22
23 /* information about each line */
24 struct res_line_info {
25     enum res_kind kind;  
26     char *name;
27     char *value;
28     struct res_line_info *next;
29 };
30
31 /* information about each file */
32 struct res_file_info {
33     char *fname;
34     struct res_line_info *lines;
35     struct res_file_info *next;
36 };
37
38 /* symbol table entry */
39 struct res_sym_entry {
40     struct res_line_info *info;
41     struct res_sym_entry *next;
42 };
43
44 /* symbol table */
45 struct res_symtab {
46     struct res_sym_entry *next;
47 };
48
49 /* all resource information */
50 struct Gw_res_info {
51     struct res_file_info *files;
52     struct res_symtab *symtab;
53 };