X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-proxy-main.cpp;h=84bd47c03bd13159b131f0d5b0d8bc137360e563;hb=88510217a59150b1c3812213099ddef2a3d2846e;hp=b5f3ffee565791a82f63e7bcd6a4701c4660237b;hpb=3110991d8a797c0e91037e9e615090ec57e22359;p=yazproxy-moved-to-github.git diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index b5f3ffe..84bd47c 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -1,7 +1,7 @@ -/* $Id: yaz-proxy-main.cpp,v 1.17 2005-09-07 09:28:46 adam Exp $ - Copyright (c) 1998-2005, Index Data. +/* $Id: yaz-proxy-main.cpp,v 1.20 2006-07-06 11:50:26 adam Exp $ + Copyright (c) 1998-2006, Index Data. -This file is part of the yaz-proxy. +This file is part of the yazproxy. YAZ proxy 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 @@ -45,11 +45,11 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include -#include +#include +#include #include -#if HAVE_XSLT +#if YAZ_HAVE_XSLT #include #include #include @@ -179,7 +179,7 @@ static void sighup_handler(int num) static_yaz_proxy->reconfig(); } -#if HAVE_XSLT +#if YAZ_HAVE_XSLT static void proxy_xml_error_handler(void *ctx, const char *fmt, ...) { char buf[1024]; @@ -205,7 +205,7 @@ static void child_run(SocketManager *m, int run) signal(SIGHUP, sighup_handler); #endif -#if HAVE_XSLT +#if YAZ_HAVE_XSLT xmlSetGenericErrorFunc((void *) "XML", proxy_xml_error_handler); xsltSetGenericErrorFunc((void *) "XSLT", proxy_xml_error_handler); #endif @@ -279,7 +279,7 @@ static void child_run(SocketManager *m, int run) int main(int argc, char **argv) { -#if HAVE_XSLT +#if YAZ_HAVE_XSLT xmlInitMemory(); LIBXML_TEST_VERSION