![]() |
C library for SOAP (Simple Object Access Protocol) |
00001 /****************************************************************** 00002 * $Id: soap-xml.h,v 1.13 2007/11/03 22:40:10 m0gg Exp $ 00003 * 00004 * CSOAP Project: A SOAP client/server library in C 00005 * Copyright (C) 2003 Ferhat Ayaz 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Library General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Library General Public 00018 * License along with this library; if not, write to the 00019 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 * Boston, MA 02111-1307, USA. 00021 * 00022 * Email: ayaz@jprogrammer.net 00023 ******************************************************************/ 00024 #ifndef __csoap_xml_h 00025 #define __csoap_xml_h 00026 00038 #define XML_ERROR 1600 00039 #define XML_ERROR_EMPTY_DOCUMENT (XML_ERROR + 1) 00040 #define XML_ERROR_PARSE (XML_ERROR + 2) 00041 00043 static const char * const soap_env_enc = "http://schemas.xmlsoap.org/soap/encoding/"; 00044 static const char * const soap_xsi_ns = "http://www.w3.org/1999/XMLSchema-instance"; 00045 static const char * const soap_xsd_ns = "http://www.w3.org/1999/XMLSchema"; 00046 00047 #ifdef __cplusplus 00048 extern "C" { 00049 #endif 00050 00051 extern xmlNodePtr soap_xml_get_children(xmlNodePtr param); 00052 00053 extern xmlNodePtr soap_xml_get_next_element(xmlNodePtr param); 00054 00055 extern char *soap_xml_get_text(xmlNodePtr node); 00056 00057 #ifdef __cplusplus 00058 } 00059 #endif 00060 00063 #endif
