X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.h;h=b8ab5bf716064056e8779196c46128ce9e95780f;hb=83533000f9456dcab2fc171abafd84d6104d4087;hp=953a9f7ef58fb130da09c101429ea8471506381d;hpb=e5b0bb88921b593c89dd6ae9077c6566bc8a6a91;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.h b/index/zebraapi.h index 953a9f7..b8ab5bf 100644 --- a/index/zebraapi.h +++ b/index/zebraapi.h @@ -4,7 +4,19 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zebraapi.h,v $ - * Revision 1.5 1998-09-22 10:48:19 adam + * Revision 1.9 2000-02-24 12:31:17 adam + * Added zebra_string_norm. + * + * Revision 1.8 1999/11/30 13:48:03 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.7 1999/11/04 15:00:45 adam + * Implemented delete result set(s). + * + * Revision 1.6 1999/02/17 11:29:57 adam + * Fixed in record_fetch. Minor updates to API. + * + * Revision 1.5 1998/09/22 10:48:19 adam * Minor changes in search API. * * Revision 1.4 1998/09/02 13:53:18 adam @@ -22,9 +34,13 @@ * */ -#include -#include -#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* Retrieval Record Descriptor */ typedef struct { @@ -67,6 +83,11 @@ YAZ_EXPORT void zebra_scan (ZebraHandle zh, ODR stream, int *position, int *num_entries, ZebraScanEntry **list, int *is_partial); + +/* Delete Result Set(s) */ +YAZ_EXPORT int zebra_deleleResultSet(ZebraHandle zh, int function, + int num_setnames, char **setnames, + int *statuses); /* Close zebra and destroy handle */ YAZ_EXPORT void zebra_close (ZebraHandle zh); @@ -85,3 +106,12 @@ YAZ_EXPORT int zebra_hits (ZebraHandle zh); /* do authentication */ YAZ_EXPORT int zebra_auth (ZebraHandle zh, const char *user, const char *pass); +/* Character normalisation on specific register . + This routine is subject to change - do not use. */ +YAZ_EXPORT int zebra_string_norm (ZebraHandle zh, unsigned reg_id, + const char *input_str, int input_len, + char *output_str, int output_len); + +#ifdef __cplusplus +} +#endif