X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Fapi.h;h=3336ca202d3e8e10e73ee213719999d09097b35e;hp=53ae58ddefbb05a9ea1f03202734e9b32d9f61c3;hb=40e64fc6d452f02389a00e5c8004f895342099c2;hpb=9d961069395f4ff45425de0fa847312dcb88a189 diff --git a/include/idzebra/api.h b/include/idzebra/api.h index 53ae58d..3336ca2 100644 --- a/include/idzebra/api.h +++ b/include/idzebra/api.h @@ -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 #include -/* 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);