diff options
author | snowdrop | 2004-10-15 13:34:02 +0000 |
---|---|---|
committer | snowdrop | 2004-10-15 13:34:02 +0000 |
commit | 73e428cb61f06f1582d65f98843a0bcf174c2f00 (patch) | |
tree | 8b17c5634385cf8f4d9bf46370a449cbcc523ea1 | |
parent | 7ed3b0bb398f43429c6c0d0d9bd8b5bada1d7389 (diff) | |
download | csoap-73e428cb61f06f1582d65f98843a0bcf174c2f00.tar.gz csoap-73e428cb61f06f1582d65f98843a0bcf174c2f00.tar.bz2 |
develop
-rw-r--r-- | libcsoap/soap-fault.c | 6 | ||||
-rw-r--r-- | libcsoap/soap-fault.h | 3 | ||||
-rw-r--r-- | libcsoap/soap-service.h | 9 | ||||
-rw-r--r-- | libcsoap/soap-xml.c | 8 | ||||
-rw-r--r-- | libcsoap/soap-xml.h | 3 |
5 files changed, 22 insertions, 7 deletions
diff --git a/libcsoap/soap-fault.c b/libcsoap/soap-fault.c index 698c044..a44ad37 100644 --- a/libcsoap/soap-fault.c +++ b/libcsoap/soap-fault.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-fault.c,v 1.4 2004/09/02 11:48:28 rans Exp $ +* $Id: soap-fault.c,v 1.5 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -122,3 +122,7 @@ xmlDocPtr soap_fault_build(fault_code_t fcode, return fault; } + + + + diff --git a/libcsoap/soap-fault.h b/libcsoap/soap-fault.h index a65d803..dcc18e2 100644 --- a/libcsoap/soap-fault.h +++ b/libcsoap/soap-fault.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-fault.h,v 1.1 2004/01/30 16:39:34 snowdrop Exp $ + * $Id: soap-fault.h,v 1.2 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -27,6 +27,7 @@ #include <libcsoap/soap-xml.h> + typedef enum _fault_code { Fault_VersionMismatch, Fault_MustUnderstand, diff --git a/libcsoap/soap-service.h b/libcsoap/soap-service.h index d4bf035..7c2855e 100644 --- a/libcsoap/soap-service.h +++ b/libcsoap/soap-service.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-service.h,v 1.1 2004/02/03 08:10:05 snowdrop Exp $ + * $Id: soap-service.h,v 1.2 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -19,15 +19,16 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. * - * Email: ayaz@jprogrammer.net + * Email: ferhatayaz@jprogrammer.net ******************************************************************/ #ifndef cSOAP_SERVICE_H #define cSOAP_SERVICE_H #include <libcsoap/soap-env.h> +#include <libcsoap/soap-ctx.h> -typedef SoapEnv* (*SoapServiceFunc)(SoapEnv*); +typedef SoapCtx* (*SoapServiceFunc)(SoapCtx*); typedef struct _SoapService @@ -54,3 +55,5 @@ void soap_service_free(SoapService *service); #endif + + diff --git a/libcsoap/soap-xml.c b/libcsoap/soap-xml.c index 95b23c0..f973036 100644 --- a/libcsoap/soap-xml.c +++ b/libcsoap/soap-xml.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-xml.c,v 1.5 2004/09/02 11:48:28 rans Exp $ +* $Id: soap-xml.c,v 1.6 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -125,3 +125,9 @@ void soap_xml_doc_print(xmlDocPtr doc) xmlBufferFree(buffer); } + +char *soap_xml_get_text(xmlNodePtr node) +{ + return (char*)xmlNodeListGetString(node->doc, node->xmlChildrenNode, 1); +} + diff --git a/libcsoap/soap-xml.h b/libcsoap/soap-xml.h index 8083346..5c0a599 100644 --- a/libcsoap/soap-xml.h +++ b/libcsoap/soap-xml.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-xml.h,v 1.4 2004/09/02 11:48:28 rans Exp $ + * $Id: soap-xml.h,v 1.5 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -44,5 +44,6 @@ soap_xpath_foreach(xmlDocPtr doc, const char *xpath, void soap_xml_doc_print(xmlDocPtr doc); +char *soap_xml_get_text(xmlNodePtr node); #endif |