2 * Copyright (c) 2002-2003, Index Data.
3 * See the file LICENSE for details.
5 * $Id: soap.h,v 1.1 2003-02-12 15:06:43 adam Exp $
14 #include <libxml/parser.h>
15 #include <libxml/tree.h>
30 #define Z_SOAP_fault 1
31 #define Z_SOAP_generic 2
32 #define Z_SOAP_error 3
37 Z_SOAP_Generic *generic;
38 Z_SOAP_Fault *soap_error;
46 int (*f)(ODR o, xmlNodePtr ptr, void **handler_data,
47 void *client_data, const char *ns);
50 YAZ_EXPORT int z_soap_codec(ODR o, Z_SOAP **pp,
51 char **content_buf, int *content_len,
52 Z_SOAP_Handler *handlers);