CMGDK r49-rc2
|
组合类型 | |
struct | xml_stack_st |
宏定义 | |
#define | MY_XML_OK 0 |
#define | MY_XML_ERROR 1 |
#define | MY_XML_FLAG_RELATIVE_NAMES 1 |
#define | MY_XML_FLAG_SKIP_TEXT_NORMALIZATION 2 |
类型定义 | |
typedef struct xml_stack_st | MY_XML_PARSER |
枚举 | |
enum | my_xml_node_type { MY_XML_NODE_TAG, MY_XML_NODE_ATTR, MY_XML_NODE_TEXT } |
函数 | |
void | my_xml_parser_create (MY_XML_PARSER *st) |
void | my_xml_parser_free (MY_XML_PARSER *st) |
int | my_xml_parse (MY_XML_PARSER *st, const char *str, size_t len) |
void | my_xml_set_value_handler (MY_XML_PARSER *st, int(*)(MY_XML_PARSER *, const char *, size_t len)) |
void | my_xml_set_enter_handler (MY_XML_PARSER *st, int(*)(MY_XML_PARSER *, const char *, size_t len)) |
void | my_xml_set_leave_handler (MY_XML_PARSER *st, int(*)(MY_XML_PARSER *, const char *, size_t len)) |
void | my_xml_set_user_data (MY_XML_PARSER *st, void *) |
size_t | my_xml_error_pos (MY_XML_PARSER *st) |
uint | my_xml_error_lineno (MY_XML_PARSER *st) |
const char * | my_xml_error_string (MY_XML_PARSER *st) |
#define MY_XML_ERROR 1 |
#define MY_XML_FLAG_RELATIVE_NAMES 1 |
#define MY_XML_FLAG_SKIP_TEXT_NORMALIZATION 2 |
#define MY_XML_OK 0 |
typedef struct xml_stack_st MY_XML_PARSER |
enum my_xml_node_type |
uint my_xml_error_lineno | ( | MY_XML_PARSER * | st | ) |
size_t my_xml_error_pos | ( | MY_XML_PARSER * | st | ) |
const char* my_xml_error_string | ( | MY_XML_PARSER * | st | ) |
int my_xml_parse | ( | MY_XML_PARSER * | st, |
const char * | str, | ||
size_t | len | ||
) |
void my_xml_parser_create | ( | MY_XML_PARSER * | st | ) |
void my_xml_parser_free | ( | MY_XML_PARSER * | st | ) |
void my_xml_set_enter_handler | ( | MY_XML_PARSER * | st, |
int(*)(MY_XML_PARSER *, const char *, size_t len) | |||
) |
void my_xml_set_leave_handler | ( | MY_XML_PARSER * | st, |
int(*)(MY_XML_PARSER *, const char *, size_t len) | |||
) |
void my_xml_set_user_data | ( | MY_XML_PARSER * | st, |
void * | |||
) |
void my_xml_set_value_handler | ( | MY_XML_PARSER * | st, |
int(*)(MY_XML_PARSER *, const char *, size_t len) | |||
) |