From c489665ace13d32f4959904b0215ed1021d0acf6 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sun, 3 Dec 2006 17:30:57 +0000 Subject: Error codes moved --- libcsoap/soap-nhttp.c | 4 +++- libcsoap/soap-server.h | 10 +++++----- libcsoap/soap-xml.h | 11 ++++++++++- 3 files changed, 18 insertions(+), 7 deletions(-) (limited to 'libcsoap') 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 #include +#include #include #include @@ -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"; -- cgit v1.1-32-gdbae