2 * Copyright (c) 2002-2004, Index Data.
3 * See the file LICENSE for details.
5 * $Id: soap.h,v 1.7 2004-01-07 21:02:42 adam Exp $
27 #define Z_SOAP_fault 1
28 #define Z_SOAP_generic 2
29 #define Z_SOAP_error 3
34 Z_SOAP_Generic *generic;
35 Z_SOAP_Fault *soap_error;
40 typedef int (*Z_SOAP_fun)(ODR o, void * ptr, void **handler_data,
41 void *client_data, const char *ns);
48 YAZ_EXPORT int z_soap_codec(ODR o, Z_SOAP **pp,
49 char **content_buf, int *content_len,
50 Z_SOAP_Handler *handlers);
51 YAZ_EXPORT int z_soap_codec_enc(ODR o, Z_SOAP **pp,
52 char **content_buf, int *content_len,
53 Z_SOAP_Handler *handlers,
54 const char *encoding);
55 YAZ_EXPORT int z_soap_codec_enc_xsl(ODR o, Z_SOAP **pp,
56 char **content_buf, int *content_len,
57 Z_SOAP_Handler *handlers,
59 const char *stylesheet);
61 YAZ_EXPORT int z_soap_error(ODR o, Z_SOAP *p,
62 const char *fault_code, const char *fault_string,