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-xml.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libcsoap/soap-xml.h') 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