2 * Copyright (c) 2002-2003, Index Data.
3 * See the file LICENSE for details.
5 * $Id: soap.h,v 1.3 2003-03-11 11:09:17 adam Exp $
25 #define Z_SOAP_fault 1
26 #define Z_SOAP_generic 2
27 #define Z_SOAP_error 3
32 Z_SOAP_Generic *generic;
33 Z_SOAP_Fault *soap_error;
38 typedef int (*Z_SOAP_fun)(ODR o, void * ptr, void **handler_data,
39 void *client_data, const char *ns);
46 YAZ_EXPORT int z_soap_codec(ODR o, Z_SOAP **pp,
47 char **content_buf, int *content_len,
48 Z_SOAP_Handler *handlers);
49 YAZ_EXPORT int z_soap_codec_enc(ODR o, Z_SOAP **pp,
50 char **content_buf, int *content_len,
51 Z_SOAP_Handler *handlers, const char *encoding);