X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.h;h=b8ab5bf716064056e8779196c46128ce9e95780f;hb=83533000f9456dcab2fc171abafd84d6104d4087;hp=21a6e816cd6bf2af3e4225b8312e78d1708e5fee;hpb=6e044d5a523bb4363d07af757ebf1bcfe0ad6c04;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.h b/index/zebraapi.h index 21a6e81..b8ab5bf 100644 --- a/index/zebraapi.h +++ b/index/zebraapi.h @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zebraapi.h,v $ - * Revision 1.6 1999-02-17 11:29:57 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 @@ -25,9 +34,9 @@ * */ -#include -#include -#include +#include +#include +#include #ifdef __cplusplus extern "C" { @@ -74,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); @@ -92,6 +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