/build/buildd/efreet-0.5.0.063/src/lib/efreet_xml.h
Go to the documentation of this file.00001 /* vim: set sw=4 ts=4 sts=4 et: */ 00002 #ifndef EFREET_XML_H 00003 #define EFREET_XML_H 00004 00017 typedef struct Efreet_Xml_Attribute Efreet_Xml_Attribute; 00018 00023 struct Efreet_Xml_Attribute 00024 { 00025 const char *key; 00026 const char *value; 00027 }; 00028 00032 typedef struct Efreet_Xml Efreet_Xml; 00033 00038 struct Efreet_Xml 00039 { 00040 char *text; 00041 const char *tag; 00043 Efreet_Xml_Attribute **attributes; 00045 Eina_List *children; 00046 }; 00047 00048 int efreet_xml_init(void); 00049 void efreet_xml_shutdown(void); 00050 00051 Efreet_Xml *efreet_xml_new(const char *file); 00052 void efreet_xml_del(Efreet_Xml *xml); 00053 00054 const char *efreet_xml_attribute_get(Efreet_Xml *xml, const char *key); 00055 00060 #endif