Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
assert(name);
if (!strncmp("pz:", name, 3) && (p = strchr(name + 3, ':')))
assert(name);
if (!strncmp("pz:", name, 3) && (p = strchr(name + 3, ':')))
xmlDocSetRootElement(doc, xmlCopyNode(root, 1));
xmlDocDumpMemory(doc, &buf_out, &len_out);
/* xmlDocDumpMemory 0-terminates */
xmlDocSetRootElement(doc, xmlCopyNode(root, 1));
xmlDocDumpMemory(doc, &buf_out, &len_out);
/* xmlDocDumpMemory 0-terminates */
static int read_settings_file(const char *path,
void *client_data,
void (*fun)(void *client_data,
static int read_settings_file(const char *path,
void *client_data,
void (*fun)(void *client_data,
static void update_settings(struct setting *set, struct settings_array *settings, int offset, NMEM nmem)
{
struct setting **sp;
static void update_settings(struct setting *set, struct settings_array *settings, int offset, NMEM nmem)
{
struct setting **sp;
- yaz_log(YLOG_LOG, "update service settings offset %d with %s=%s", offset, set->name, set->value);
+ yaz_log(YLOG_DEBUG, "update service settings offset %d with %s=%s", offset, set->name, set->value);
expand_settings_array2(settings, offset, nmem);
// First we determine if this setting is overriding any existing settings
expand_settings_array2(settings, offset, nmem);
// First we determine if this setting is overriding any existing settings
WRBUF wrbuf = wrbuf_alloc();
yaz_log(YLOG_DEBUG, "Metadata %s has limitmap: %s ",md->name, md->limitmap);
wrbuf_printf(wrbuf, "pz:limitmap:%s", md->name);
WRBUF wrbuf = wrbuf_alloc();
yaz_log(YLOG_DEBUG, "Metadata %s has limitmap: %s ",md->name, md->limitmap);
wrbuf_printf(wrbuf, "pz:limitmap:%s", md->name);
new = nmem_malloc(service->nmem, sizeof(*new));
memset(new, 0, sizeof(*new));
service->dictionary = new;
new = nmem_malloc(service->nmem, sizeof(*new));
memset(new, 0, sizeof(*new));
service->dictionary = new;