Updated profilePath. isam:b for zebra-b.cfg
[idzebra-moved-to-github.git] / index / zebraapi.h
index 9ac0a81..f34c52a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zebraapi.h,v 1.21 2002-09-17 12:27:12 adam Exp $
+/* $Id: zebraapi.h,v 1.23 2003-01-15 07:26:40 oleg Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -30,6 +30,13 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include <yaz/proto.h>
 #include <zebraver.h>
 
+/* Fixme! Compare string (ignore case) */
+#ifdef WIN32
+#define STRCASECMP     stricmp
+#else
+#define STRCASECMP     strcasecmp
+#endif
+
 YAZ_BEGIN_CDECL
 
 struct recordGroup {
@@ -184,5 +191,13 @@ void zebra_register_statistics (ZebraHandle zh, int dumpdict);
 YAZ_EXPORT
 int zebra_record_encoding (ZebraHandle zh, const char *encoding);
 
+/* Resources */
+YAZ_EXPORT
+void zebra_set_resource(ZebraHandle zh, const char *name, const char *value);
+YAZ_EXPORT
+const char *zebra_get_resource(ZebraHandle zh, 
+               const char *name, const char *defaultvalue);
+
+
 YAZ_END_CDECL                                
 #endif