#include <yaz/daemon.h>
#include <yaz/sc.h>
+#include <yaz/backtrace.h>
#include <iostream>
#include <stdexcept>
#include <libxml/xinclude.h>
const char *pidfile = 0;
const char *uid = 0;
+ yaz_enable_panic_backtrace(argv[0]);
set_log_prefix();
while ((ret = options("c{config}:Dh{help}l:m:p:tu:v:V{version}w:X",
, test_config ? "test" : "start"
);
+ xmlInitParser();
+ LIBXML_TEST_VERSION
+
yaz_log_xml_errors(0, YLOG_LOG);
xmlDocPtr doc = xmlReadFile(fname,
NULL,