X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsrwutil.c;h=998deb91cf950933da1513da8691a235a058503b;hp=24a9189b9ded7ea39f56c7c0bb2eb20e71811c3b;hb=b1419c61a0ac369638256f2afd1fc6b8ecd8fa34;hpb=b8daa05e7f9c86d3dc2d4204276ec7a6f9d18258 diff --git a/src/srwutil.c b/src/srwutil.c index 24a9189..998deb9 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,10 +2,11 @@ * Copyright (c) 2002-2003, Index Data. * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.1 2003-12-20 00:51:19 adam Exp $ + * $Id: srwutil.c,v 1.2 2003-12-30 00:29:53 adam Exp $ */ #include +#include static int hex_digit (int ch) { @@ -84,7 +85,6 @@ int yaz_check_for_srw(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu, const char *p0 = hreq->path, *p1; Z_SOAP *soap_package = 0; int ret = -1; - int http_code = 500; const char *charset_p = 0; char *charset = 0; @@ -152,16 +152,6 @@ int yaz_check_for_sru(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu, char *db = "Default"; const char *p0 = hreq->path, *p1; const char *operation = 0; -#if HAVE_XML2 - int ret = -1; - char *charset = 0; - Z_SOAP *soap_package = 0; - static Z_SOAP_Handler soap_handlers[2] = { - {"http://www.loc.gov/zing/srw/", 0, - (Z_SOAP_fun) yaz_srw_codec}, - {0, 0, 0} - }; -#endif if (*p0 == '/') p0++;