+Z_External *yaz_set_proposal_charneg_list(ODR o,
+ const char *delim,
+ const char *charset_list,
+ const char *lang_list,
+ int selected)
+{
+ char **charsets_addresses = 0;
+ char **langs_addresses = 0;
+ int charsets_count = 0;
+ int langs_count = 0;
+
+ if (charset_list)
+ nmem_strsplit(odr_getmem(o), delim, charset_list,
+ &charsets_addresses, &charsets_count);
+ if (lang_list)
+ nmem_strsplit(odr_getmem(o), delim, lang_list,
+ &langs_addresses, &langs_count);
+ return yaz_set_proposal_charneg(o,
+ (const char **) charsets_addresses,
+ charsets_count,
+ (const char **) langs_addresses,
+ langs_count,
+ selected);
+}
+
+