summaryrefslogtreecommitdiffstats
path: root/libcsoap
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-03 17:30:57 +0000
committerGravatar m0gg2006-12-03 17:30:57 +0000
commitc489665ace13d32f4959904b0215ed1021d0acf6 (patch)
tree7c9b3eb4d4d236a38e53be53d606c184b7192988 /libcsoap
parent60881bf7b91a87d12d0b2e694a6aa0db0b8b6fda (diff)
downloadcsoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.gz
csoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.bz2
Error codes moved
Diffstat (limited to 'libcsoap')
-rw-r--r--libcsoap/soap-nhttp.c4
-rw-r--r--libcsoap/soap-server.h10
-rw-r--r--libcsoap/soap-xml.h11
3 files changed, 18 insertions, 7 deletions
diff --git a/libcsoap/soap-nhttp.c b/libcsoap/soap-nhttp.c
index 74d1ebd..da30a11 100644
--- a/libcsoap/soap-nhttp.c
+++ b/libcsoap/soap-nhttp.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-nhttp.c,v 1.8 2006/12/02 21:59:09 m0gg Exp $
+* $Id: soap-nhttp.c,v 1.9 2006/12/03 17:30:57 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -39,6 +39,7 @@
#include <libxml/tree.h>
#include <libxml/uri.h>
+#include <libxml/xpath.h>
#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
@@ -57,6 +58,7 @@
#include "soap-client.h"
#include "soap-transport.h"
#include "soap-addressing.h"
+#include "soap-xml.h"
#include "soap-admin.h"
#include "soap-wsil.h"
diff --git a/libcsoap/soap-server.h b/libcsoap/soap-server.h
index 3a9ac32..e9ee9fa 100644
--- a/libcsoap/soap-server.h
+++ b/libcsoap/soap-server.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-server.h,v 1.15 2006/11/30 14:23:59 m0gg Exp $
+ * $Id: soap-server.h,v 1.16 2006/12/03 17:30:57 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -48,11 +48,11 @@
* Matt Campbell,
* Heiko Ronsdorf
*
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*
- * @see http://www.libxml.org/,
- * http://www.openssl.org/,
- * http://www.aleksey.com/xmlsec/
+ * @see http://www.libxml.org/
+ * @see http://www.openssl.org/
+ * @see http://www.aleksey.com/xmlsec/
*/
#ifdef __cplusplus
diff --git a/libcsoap/soap-xml.h b/libcsoap/soap-xml.h
index e7167b2..c03c6ea 100644
--- a/libcsoap/soap-xml.h
+++ b/libcsoap/soap-xml.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-xml.h,v 1.11 2006/11/23 15:27:33 m0gg Exp $
+ * $Id: soap-xml.h,v 1.12 2006/12/03 17:30:57 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -24,6 +24,15 @@
#ifndef __csoap_xml_h
#define __csoap_xml_h
+/**
+ *
+ * XML Errors
+ *
+ */
+#define XML_ERROR 1600
+#define XML_ERROR_EMPTY_DOCUMENT (XML_ERROR + 1)
+#define XML_ERROR_PARSE (XML_ERROR + 2)
+
static const char * const soap_env_enc = "http://schemas.xmlsoap.org/soap/encoding/";
static const char * const soap_xsi_ns = "http://www.w3.org/1999/XMLSchema-instance";
static const char * const soap_xsd_ns = "http://www.w3.org/1999/XMLSchema";