X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fsoap.h;h=d94a60ac869a0bdf2e08b76f7b986b26b6aedadd;hp=79264f62f84a8a770b41657bdad075b781d02211;hb=05c274ef315384faafcc5900c17468f0ea2474e6;hpb=6bffc65936ba634077acb9f42ace217bc4737539 diff --git a/include/yaz/soap.h b/include/yaz/soap.h index 79264f6..d94a60a 100644 --- a/include/yaz/soap.h +++ b/include/yaz/soap.h @@ -1,8 +1,12 @@ /* - * Copyright (c) 2002-2003, Index Data. + * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: soap.h,v 1.4 2003-03-24 22:26:50 adam Exp $ + * $Id: soap.h,v 1.8 2004-10-15 00:18:59 adam Exp $ + */ +/** + * \file soap.h + * \brief Header for SOAP */ #ifndef YAZ_SOAP_H @@ -10,6 +14,8 @@ #include +YAZ_BEGIN_CDECL + typedef struct { char *fault_code; char *fault_string; @@ -47,11 +53,18 @@ 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); + 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