X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fsoap.h;h=01238285b17704810c13afbb52af13fcd6995283;hp=9c60462bedf18d9572918749f39f7c4d1f2748ac;hb=ac286ae76051058c8e340bf84eb98391340b7d22;hpb=c620a713f1418315efcd4e6fab225e036775d365 diff --git a/include/yaz/soap.h b/include/yaz/soap.h index 9c60462..0123828 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.1 2003-02-12 15:06:43 adam Exp $ + * $Id: soap.h,v 1.2 2003-02-14 18:49:23 adam Exp $ */ #ifndef YAZ_SOAP_H @@ -10,11 +10,6 @@ #include -#if HAVE_XSLT -#include -#include -#endif - typedef struct { char *fault_code; char *fault_string; @@ -40,11 +35,12 @@ typedef struct { const char *ns; } Z_SOAP; +typedef int (*Z_SOAP_fun)(ODR o, void * ptr, void **handler_data, + void *client_data, const char *ns); typedef struct { char *ns; void *client_data; - int (*f)(ODR o, xmlNodePtr ptr, void **handler_data, - void *client_data, const char *ns); + Z_SOAP_fun f; } Z_SOAP_Handler; YAZ_EXPORT int z_soap_codec(ODR o, Z_SOAP **pp,