-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);