2 * Copyright (C) 1994, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.6 1996-10-29 13:44:12 adam
10 * Revision 1.5 1994/09/16 14:37:46 quinn
13 * Revision 1.4 1994/09/06 13:02:29 quinn
14 * Removed const from res_get
16 * Revision 1.3 1994/08/18 09:43:04 adam
17 * Added res_trav. Major changes of prototypes.
19 * Revision 1.2 1994/08/18 08:22:26 adam
20 * Res.h modified. xmalloc now declares xstrdup.
30 struct res_entry *next;
33 typedef struct res_struct {
34 struct res_entry *first, *last;
39 Res res_open (const char *name);
40 void res_close (Res r);
41 char *res_get (Res r, const char *name);
42 char *res_get_def (Res r, const char *name, char *def);
43 int res_get_match (Res r, const char *name, const char *value, const char *s);
44 void res_put (Res r, const char *name, const char *value);
45 void res_trav (Res r, const char *prefix,
46 void (*f)(const char *name, const char *value));
47 int res_write (Res r);