gwenhywfar
4.3.1
|
00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id$ 00005 begin : Sat Jun 28 2003 00006 copyright : (C) 2003 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * * 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of the GNU Lesser General Public * 00013 * License as published by the Free Software Foundation; either * 00014 * version 2.1 of the License, or (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * Lesser General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Lesser General Public * 00022 * License along with this library; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * 00024 * MA 02111-1307 USA * 00025 * * 00026 ***************************************************************************/ 00027 00028 #ifndef GWENHYWFAR_XML_L_H 00029 #define GWENHYWFAR_XML_L_H 00030 00031 #include <gwenhywfar/xml.h> 00032 #include <gwenhywfar/stringlist2.h> 00033 00034 00037 typedef struct GWEN__XMLPROPERTY GWEN_XMLPROPERTY; 00038 00039 00040 GWEN_XMLPROPERTY *GWEN_XMLNode_GetFirstProperty(const GWEN_XMLNODE *n); 00041 GWEN_XMLPROPERTY *GWEN_XMLNode_GetNextProperty(const GWEN_XMLNODE *n, 00042 const GWEN_XMLPROPERTY *pr); 00043 00044 const char *GWEN_XMLProperty_GetName(const GWEN_XMLPROPERTY *pr); 00045 const char *GWEN_XMLProperty_GetValue(const GWEN_XMLPROPERTY *pr); 00046 00047 00048 int GWEN_XML_AddNameSpace(GWEN_STRINGLIST2 *sl, 00049 const char *prefix, 00050 const char *name); 00051 const char *GWEN_XML_FindNameSpaceByPrefix(GWEN_STRINGLIST2 *sl, 00052 const char *s); 00053 const char *GWEN_XML_FindNameSpaceByName(GWEN_STRINGLIST2 *sl, 00054 const char *s); 00055 const char *GWEN_XML_FindNameSpace(GWEN_STRINGLIST2 *sl, 00056 const char *prefix, 00057 const char *name); 00058 00059 00060 #endif 00061