X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fres.h;h=7e20b72e0e9e043974a318d864ccc663bfa44475;hb=b8844c65622c12fb105bf7fc6bab2fc237af7c14;hp=3321f5a6bc18e05eba845ec73b595cd257678cb8;hpb=dab34f8036ba87c6f16c2b769b3d4f54a9515cf3;p=idzebra-moved-to-github.git diff --git a/include/res.h b/include/res.h index 3321f5a..7e20b72 100644 --- a/include/res.h +++ b/include/res.h @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: res.h,v $ - * Revision 1.2 1994-08-18 08:22:26 adam + * Revision 1.5 1994-09-16 14:37:46 quinn + * added res_get_def + * + * Revision 1.4 1994/09/06 13:02:29 quinn + * Removed const from res_get + * + * Revision 1.3 1994/08/18 09:43:04 adam + * Added res_trav. Major changes of prototypes. + * + * Revision 1.2 1994/08/18 08:22:26 adam * Res.h modified. xmalloc now declares xstrdup. * */ @@ -24,4 +33,12 @@ typedef struct res_struct { int init; } *Res; +Res res_open (const char *name); +void res_close (Res r); +char *res_get (Res r, const char *name); +char *res_get_def (Res r, const char *name, char *def); +void res_put (Res r, const char *name, const char *value); +void res_trav (Res r, const char *prefix, + void (*f)(const char *name, const char *value)); +int res_write (Res r); #endif