* 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
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,
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