X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsoap.h;h=c920874dfa0cc901204c35f6a561cfcc063ba251;hb=49db0e419dbd39548ef06ecb731b1ac86a1179f0;hp=09695b57cac4f41f32a51d8f2fbe3ba6a5c90653;hpb=5b417578fa8bce4671d29d59201ae0ad0c7e5653;p=yaz-moved-to-github.git diff --git a/include/yaz/soap.h b/include/yaz/soap.h index 09695b5..c920874 100644 --- a/include/yaz/soap.h +++ b/include/yaz/soap.h @@ -1,8 +1,12 @@ /* - * Copyright (c) 2002-2003, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: soap.h,v 1.5 2003-12-09 12:51:16 adam Exp $ + * $Id: soap.h,v 1.10 2005-06-25 15:46:03 adam Exp $ + */ +/** + * \file soap.h + * \brief Header for SOAP */ #ifndef YAZ_SOAP_H @@ -38,7 +42,7 @@ typedef struct { } Z_SOAP; typedef int (*Z_SOAP_fun)(ODR o, void * ptr, void **handler_data, - void *client_data, const char *ns); + void *client_data, const char *ns); typedef struct { char *ns; void *client_data; @@ -49,8 +53,14 @@ 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, @@ -58,3 +68,11 @@ YAZ_EXPORT int z_soap_error(ODR o, Z_SOAP *p, YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +