X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsoap.h;h=46f602dafa5a3abe3aeeb5c03b80e6e72174abc4;hb=073195289eb9b73d6793fa283e5a7dca7a24fba8;hp=01238285b17704810c13afbb52af13fcd6995283;hpb=ac286ae76051058c8e340bf84eb98391340b7d22;p=yaz-moved-to-github.git diff --git a/include/yaz/soap.h b/include/yaz/soap.h index 0123828..46f602d 100644 --- a/include/yaz/soap.h +++ b/include/yaz/soap.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 2002-2003, Index Data. + * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: soap.h,v 1.2 2003-02-14 18:49:23 adam Exp $ + * $Id: soap.h,v 1.7 2004-01-07 21:02:42 adam Exp $ */ #ifndef YAZ_SOAP_H @@ -10,6 +10,8 @@ #include +YAZ_BEGIN_CDECL + typedef struct { char *fault_code; char *fault_string; @@ -46,5 +48,19 @@ typedef struct { YAZ_EXPORT int z_soap_codec(ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers); +YAZ_EXPORT int z_soap_codec_enc(ODR o, Z_SOAP **pp, + char **content_buf, int *content_len, + Z_SOAP_Handler *handlers, + const char *encoding); +YAZ_EXPORT int z_soap_codec_enc_xsl(ODR o, Z_SOAP **pp, + char **content_buf, int *content_len, + Z_SOAP_Handler *handlers, + const char *encoding, + const char *stylesheet); + +YAZ_EXPORT int z_soap_error(ODR o, Z_SOAP *p, + const char *fault_code, const char *fault_string, + const char *details); +YAZ_END_CDECL #endif