lib/efreet_xml.h
Go to the documentation of this file.00001 #ifndef EFREET_XML_H 00002 #define EFREET_XML_H 00003 00016 typedef struct Efreet_Xml_Attribute Efreet_Xml_Attribute; 00017 00022 struct Efreet_Xml_Attribute 00023 { 00024 const char *key; 00025 const char *value; 00026 }; 00027 00031 typedef struct Efreet_Xml Efreet_Xml; 00032 00037 struct Efreet_Xml 00038 { 00039 const char *text; 00040 const char *tag; 00042 Efreet_Xml_Attribute **attributes; 00044 Eina_List *children; 00045 }; 00046 00047 int efreet_xml_init(void); 00048 void efreet_xml_shutdown(void); 00049 00050 Efreet_Xml *efreet_xml_new(const char *file); 00051 void efreet_xml_del(Efreet_Xml *xml); 00052 00053 const char *efreet_xml_attribute_get(Efreet_Xml *xml, const char *key); 00054 00059 #endif