/build/buildd/efreet-0.5.0.063/src/lib/efreet_xml.c File Reference
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <Ecore_File.h>
#include "Efreet.h"
#include "efreet_private.h"
#include "efreet_xml.h"
Include dependency graph for efreet_xml.c:

Defines | |
#define | EFREET_MODULE_LOG_DOM _efreet_xml_log_dom |
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) |
void | efreet_xml_shutdown (void) |
Define Documentation
#define EFREET_MODULE_LOG_DOM _efreet_xml_log_dom |
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, IF_FREE_LIST, Efreet_Xml::tag, and Efreet_Xml::text.
Referenced by efreet_menu_parse(), and efreet_xml_new().
int efreet_xml_init | ( | void | ) |
References EFREET_DEFAULT_LOG_COLOR, and ERROR.
Referenced by efreet_init(), and efreet_menu_init().
Efreet_Xml* efreet_xml_new | ( | const char * | file | ) |
References efreet_xml_del(), and ERR.
Referenced by efreet_menu_parse().
void efreet_xml_shutdown | ( | void | ) |
Referenced by efreet_init(), efreet_menu_init(), efreet_menu_shutdown(), and efreet_shutdown().