X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fsoap.h;h=09695b57cac4f41f32a51d8f2fbe3ba6a5c90653;hp=bdbb0981d8625f4b2ae26071f47d469455c68d31;hb=5b417578fa8bce4671d29d59201ae0ad0c7e5653;hpb=81afb524fb5c2d761d37853f4182fca4567cd2fd diff --git a/include/yaz/soap.h b/include/yaz/soap.h index bdbb098..09695b5 100644 --- a/include/yaz/soap.h +++ b/include/yaz/soap.h @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data. * See the file LICENSE for details. * - * $Id: soap.h,v 1.3 2003-03-11 11:09:17 adam Exp $ + * $Id: soap.h,v 1.5 2003-12-09 12:51:16 adam Exp $ */ #ifndef YAZ_SOAP_H @@ -10,6 +10,8 @@ #include +YAZ_BEGIN_CDECL + typedef struct { char *fault_code; char *fault_string; @@ -50,4 +52,9 @@ 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_error(ODR o, Z_SOAP *p, + const char *fault_code, const char *fault_string, + const char *details); + +YAZ_END_CDECL #endif