X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.h;h=b1463b87bd7f485516da78af7dfee3fef158258c;hb=47ea1fc957c7b97bb30a26698f072109cae275e4;hp=1b822b3e5da7ef41c39eace34613ba6f3e244f19;hpb=3e72747f4b28856e5f684dbe8984f8fb28680e62;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.h b/index/zebraapi.h index 1b822b3..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.16 2002-04-26 08:44:47 adam 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, @@ -153,7 +154,10 @@ YAZ_EXPORT void zebra_shadow_enable (ZebraHandle zh, int value); YAZ_EXPORT -void zebra_register_statistics (ZebraHandle zh); +void zebra_register_statistics (ZebraHandle zh, int dumpdict); + +YAZ_EXPORT +int zebra_record_encoding (ZebraHandle zh, const char *encoding); YAZ_END_CDECL #endif