/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: srwtst.c,v 1.4 2005-06-25 15:46:07 adam Exp $
+ * $Id: srwtst.c,v 1.7 2007-04-17 20:26:18 adam Exp $
*/
#include <stdlib.h>
#include <yaz/srw.h>
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
Z_SOAP_Handler h[2] = {
{"http://www.loc.gov/zing/srw/v1.0/", 0, (Z_SOAP_fun) yaz_srw_codec},
{0, 0, 0}
ODR decode, encode;
int debug = 0;
- nmem_init();
if (argc == 2 && !strcmp(argv[1], "debug"))
debug = 1;
no = fread(buf, 1, sizeof(buf), stdin);
}
odr_destroy(decode);
odr_destroy(encode);
- nmem_exit();
exit(0);
}
#else