/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ Copyright (C) 2004-2013 Index Data
Zebra 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
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
}
mapp = &(*mapp)->next;
}
- else
+ else
yaz_log(YLOG_WARN, "%s:%d: Unknown directive '%s'",
file, lineno, argv[0]);
{
*last = *m = (data1_node *) nmem_malloc (mem, sizeof(**m));
memcpy (*m, n, sizeof(**m));
-
+
(*m)->parent = parent;
(*m)->root = parent->root;
(*m)->child = dup_child(dh, n->child, &(*m)->last_child, mem, *m);
{
cur = data1_mk_tag (
dh, mem, tag->names->name, 0, pn);
-
+
}
}
}
-
+
if (mt->next)
pn = cur;
else if (!m->no_data)