Changed prototype for chr_map_input - added const.
[idzebra-moved-to-github.git] / include / res.h
index 7e20b72..0836dae 100644 (file)
@@ -1,10 +1,17 @@
 /*
- * Copyright (C) 1994, Index Data I/S 
+ * Copyright (C) 1994-1997, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: res.h,v $
- * Revision 1.5  1994-09-16 14:37:46  quinn
+ * Revision 1.7  1997-09-05 15:30:02  adam
+ * Changed prototype for chr_map_input - added const.
+ * Added support for C++, headers uses extern "C" for public definitions.
+ *
+ * Revision 1.6  1996/10/29 13:44:12  adam
+ * Added res_get_match.
+ *
+ * Revision 1.5  1994/09/16 14:37:46  quinn
  * added res_get_def
  *
  * Revision 1.4  1994/09/06  13:02:29  quinn
 #ifndef RES_H
 #define RES_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct res_entry {
     char *name;
     char *value;
@@ -37,8 +48,14 @@ 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);
+int res_get_match (Res r, const char *name, const char *value, const char *s);
 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);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif