lib/efreet_xml.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Efreet_Xml |
Contains the XML tree for a given XML document. More... | |
struct | Efreet_Xml_Attribute |
Contains information about a given XML attribute. More... | |
Typedefs | |
typedef struct Efreet_Xml | Efreet_Xml |
typedef struct Efreet_Xml_Attribute | Efreet_Xml_Attribute |
Functions | |
const char * | efreet_xml_attribute_get (Efreet_Xml *xml, const char *key) |
Retrieves the value for the given attribute key. | |
void | efreet_xml_del (Efreet_Xml *xml) |
int | efreet_xml_init (void) |
Efreet_Xml * | efreet_xml_new (const char *file) |
int | efreet_xml_shutdown (void) |
Typedef Documentation
typedef struct Efreet_Xml Efreet_Xml |
typedef struct Efreet_Xml_Attribute Efreet_Xml_Attribute |
Efreet_Xml_Attributes
Function Documentation
const char* efreet_xml_attribute_get | ( | Efreet_Xml * | xml, | |
const char * | key | |||
) |
Retrieves the value for the given attribute key.
- Parameters:
-
xml,: The xml struct to work with key,: The attribute key to look for
- Returns:
- Returns the value for the given key, or NULL if none found
References Efreet_Xml::attributes.
void efreet_xml_del | ( | Efreet_Xml * | xml | ) |
References Efreet_Xml::attributes, Efreet_Xml::children, FREE, IF_FREE, Efreet_Xml::tag, and Efreet_Xml::text.
Referenced by efreet_menu_parse(), and efreet_xml_new().
int efreet_xml_init | ( | void | ) |
Referenced by efreet_init(), and efreet_menu_init().
Efreet_Xml* efreet_xml_new | ( | const char * | file | ) |
int efreet_xml_shutdown | ( | void | ) |
Referenced by efreet_menu_shutdown(), and efreet_shutdown().