X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.h;fp=index%2Fzebraapi.h;h=b1463b87bd7f485516da78af7dfee3fef158258c;hb=47ea1fc957c7b97bb30a26698f072109cae275e4;hp=255109328ce07be6263397a3039a864e06c494c4;hpb=95d8e798d30fff70c71d1b3256bbb7852efaee02;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.h b/index/zebraapi.h index 2551093..b1463b8 100644 --- a/index/zebraapi.h +++ b/index/zebraapi.h @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: zebraapi.h,v 1.17 2002-07-11 13:03:01 heikki Exp $ + * $Id: zebraapi.h,v 1.18 2002-07-25 13:06:43 adam Exp $ */ #ifndef ZEBRAAPI_H @@ -130,9 +130,10 @@ YAZ_EXPORT void zebra_set_group (ZebraHandle zh, struct recordGroup *rg); YAZ_EXPORT void zebra_result (ZebraHandle zh, int *code, char **addinfo); -YAZ_EXPORT const char *zebra_resultSetTerms (ZebraHandle zh, - const char *setname, - int no, int *count, int *no_max); + +YAZ_EXPORT int zebra_resultSetTerms (ZebraHandle zh, const char *setname, + int no, int *count, + int *type, char *out, size_t *len); YAZ_EXPORT void zebra_sort (ZebraHandle zh, ODR stream, int num_input_setnames, @@ -155,5 +156,8 @@ void zebra_shadow_enable (ZebraHandle zh, int value); YAZ_EXPORT void zebra_register_statistics (ZebraHandle zh, int dumpdict); +YAZ_EXPORT +int zebra_record_encoding (ZebraHandle zh, const char *encoding); + YAZ_END_CDECL #endif