Renamed Set utility to DFASet, since this is tied to the DFA module.
[idzebra-moved-to-github.git] / include / idzebra / api.h
index 53ae58d..3336ca2 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: api.h,v 1.4 2004-12-02 17:27:03 adam Exp $
-   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
-   Index Data Aps
+/* $Id: api.h,v 1.7 2005-01-15 21:45:43 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -20,6 +20,11 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
+/**
+ * \file api.h
+ * \brief Zebra API
+ */
+
 /* Return codes:
  * Most functions return an int. Unix-like, 0 means OK, 
  * non-zero means an error. The error info should be available
@@ -35,13 +40,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include <idzebra/res.h>
 #include <idzebra/version.h>
 
-/* Fixme! Compare string (ignore case) */
-#ifdef WIN32
-#define STRCASECMP     stricmp
-#else
-#define STRCASECMP     strcasecmp
-#endif
-
 YAZ_BEGIN_CDECL
 
 typedef struct {
@@ -255,6 +253,12 @@ int zebra_register_statistics (ZebraHandle zh, int dumpdict);
 YAZ_EXPORT
 int zebra_record_encoding (ZebraHandle zh, const char *encoding);
 
+YAZ_EXPORT
+int zebra_record_encoding (ZebraHandle zh, const char *encoding);
+
+YAZ_EXPORT
+int zebra_octet_term_encoding(ZebraHandle zh, const char *encoding);
+
 /* Resources */
 YAZ_EXPORT
 int zebra_set_resource(ZebraHandle zh, const char *name, const char *value);