New windows NT/95 port using MSV5.0. To export DLL functions the
[yaz-moved-to-github.git] / include / yaz-util.h
index 94ef3a1..9143460 100644 (file)
@@ -4,7 +4,17 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: yaz-util.h,v $
- * Revision 1.1  1996-02-20 16:32:49  quinn
+ * Revision 1.4  1997-09-01 08:49:54  adam
+ * New windows NT/95 port using MSV5.0. To export DLL functions the
+ * YAZ_EXPORT modifier was added. Defined in yconfig.h.
+ *
+ * Revision 1.3  1997/05/14 06:53:54  adam
+ * C++ support.
+ *
+ * Revision 1.2  1996/02/20 17:58:09  adam
+ * Added const to yaz_matchstr.
+ *
+ * Revision 1.1  1996/02/20  16:32:49  quinn
  * Created util file.
  *
  *
 #ifndef YAZ_UTIL_H
 #define YAZ_UTIL_H
 
-int yaz_matchstr(char *s1, char *s2);
+#include <yconfig.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+YAZ_EXPORT int yaz_matchstr(const char *s1, const char *s2);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif