|
static GF_Err | gf_xml_sax_parse_intern (GF_SAXParser *parser, char *current) |
|
GF_STATIC char * | xml_translate_xml_string (char *str) |
|
static GF_XMLSaxAttribute * | xml_get_sax_attribute (GF_SAXParser *parser) |
|
static void | xml_sax_swap (GF_SAXParser *parser) |
|
static void | format_sax_error (GF_SAXParser *parser, u32 linepos, const char *fmt,...) |
|
static void | xml_sax_node_end (GF_SAXParser *parser, Bool had_children) |
|
static void | xml_sax_node_start (GF_SAXParser *parser) |
|
static Bool | xml_sax_parse_attribute (GF_SAXParser *parser) |
|
static void | xml_sax_flush_text (GF_SAXParser *parser) |
|
static void | xml_sax_store_text (GF_SAXParser *parser, u32 txt_len) |
|
static char * | xml_get_current_text (GF_SAXParser *parser) |
|
static void | xml_sax_skip_doctype (GF_SAXParser *parser) |
|
static void | xml_sax_skip_xml_proc (GF_SAXParser *parser) |
|
static void | xml_sax_parse_entity (GF_SAXParser *parser) |
|
static void | xml_sax_cdata (GF_SAXParser *parser) |
|
static Bool | xml_sax_parse_comments (GF_SAXParser *parser) |
|
static GF_Err | xml_sax_parse (GF_SAXParser *parser, Bool force_parse) |
|
static GF_Err | xml_sax_append_string (GF_SAXParser *parser, char *string) |
|
static XML_Entity * | gf_xml_locate_entity (GF_SAXParser *parser, char *ent_start, Bool *needs_text) |
|
GF_EXPORT GF_Err | gf_xml_sax_parse (GF_SAXParser *parser, const void *string) |
|
GF_EXPORT GF_Err | gf_xml_sax_init (GF_SAXParser *parser, unsigned char *BOM) |
|
static void | xml_sax_reset (GF_SAXParser *parser) |
|
static GF_Err | xml_sax_read_file (GF_SAXParser *parser) |
|
GF_EXPORT GF_Err | gf_xml_sax_parse_file (GF_SAXParser *parser, const char *fileName, gf_xml_sax_progress OnProgress) |
|
GF_EXPORT Bool | gf_xml_sax_binary_file (GF_SAXParser *parser) |
|
GF_EXPORT GF_SAXParser * | gf_xml_sax_new (gf_xml_sax_node_start on_node_start, gf_xml_sax_node_end on_node_end, gf_xml_sax_text_content on_text_content, void *cbck) |
|
GF_EXPORT void | gf_xml_sax_del (GF_SAXParser *parser) |
|
GF_EXPORT GF_Err | gf_xml_sax_suspend (GF_SAXParser *parser, Bool do_suspend) |
|
GF_EXPORT u32 | gf_xml_sax_get_line (GF_SAXParser *parser) |
|
GF_EXPORT char * | gf_xml_sax_peek_node (GF_SAXParser *parser, char *att_name, char *att_value, char *substitute, char *get_attr, char *end_pattern, Bool *is_substitute) |
|
GF_EXPORT const char * | gf_xml_sax_get_error (GF_SAXParser *parser) |
|
static void | on_peek_node_start (void *cbk, const char *name, const char *ns, const GF_XMLAttribute *attributes, u32 nb_attributes) |
|
GF_EXPORT char * | gf_xml_get_root_type (const char *file, GF_Err *ret) |
|
GF_EXPORT u32 | gf_xml_sax_get_node_start_pos (GF_SAXParser *parser) |
|
GF_EXPORT u32 | gf_xml_sax_get_node_end_pos (GF_SAXParser *parser) |
|
GF_EXPORT void | gf_xml_dom_node_reset (GF_XMLNode *node, Bool reset_attribs, Bool reset_children) |
|
GF_EXPORT void | gf_xml_dom_node_del (GF_XMLNode *node) |
|
GF_List * | gf_list_new_prealloc (u32 nb_prealloc) |
|
static void | on_dom_node_start (void *cbk, const char *name, const char *ns, const GF_XMLAttribute *attributes, u32 nb_attributes) |
|
static void | on_dom_node_end (void *cbk, const char *name, const char *ns) |
|
static void | on_dom_text_content (void *cbk, const char *content, Bool is_cdata) |
|
GF_EXPORT GF_DOMParser * | gf_xml_dom_new () |
|
static void | gf_xml_dom_reset (GF_DOMParser *dom, Bool full_reset) |
|
GF_EXPORT void | gf_xml_dom_del (GF_DOMParser *parser) |
|
GF_EXPORT GF_XMLNode * | gf_xml_dom_detach_root (GF_DOMParser *parser) |
|
static void | dom_on_progress (void *cbck, u64 done, u64 tot) |
|
GF_EXPORT GF_Err | gf_xml_dom_parse (GF_DOMParser *dom, const char *file, gf_xml_sax_progress OnProgress, void *cbk) |
|
GF_EXPORT GF_Err | gf_xml_dom_parse_string (GF_DOMParser *dom, char *string) |
|
GF_EXPORT GF_Err | gf_xml_dom_enable_passthrough (GF_DOMParser *dom) |
|
GF_EXPORT GF_XMLNode * | gf_xml_dom_get_root (GF_DOMParser *parser) |
|
GF_EXPORT const char * | gf_xml_dom_get_error (GF_DOMParser *parser) |
|
GF_EXPORT u32 | gf_xml_dom_get_line (GF_DOMParser *parser) |
|
GF_EXPORT u32 | gf_xml_dom_get_root_nodes_count (GF_DOMParser *parser) |
|
GF_EXPORT GF_XMLNode * | gf_xml_dom_get_root_idx (GF_DOMParser *parser, u32 idx) |
|
static void | gf_xml_dom_node_serialize (GF_XMLNode *node, Bool content_only, Bool no_escape, char **str, u32 *alloc_size, u32 *size) |
|
GF_EXPORT char * | gf_xml_dom_serialize (GF_XMLNode *node, Bool content_only, Bool no_escape) |
|
GF_EXPORT char * | gf_xml_dom_serialize_root (GF_XMLNode *node, Bool content_only, Bool no_escape) |
|
GF_EXPORT GF_XMLAttribute * | gf_xml_dom_create_attribute (const char *name, const char *value) |
|
GF_EXPORT GF_Err | gf_xml_dom_append_child (GF_XMLNode *node, GF_XMLNode *child) |
|
GF_XMLNode * | gf_xml_dom_node_new (const char *ns, const char *name) |
|
GF_Err | gf_xml_dom_node_check_namespace (const GF_XMLNode *n, const char *expected_node_name, const char *expected_ns_prefix) |
|
void | gf_xml_dump_string (FILE *file, const char *before, const char *str, const char *after) |
|
GF_XMLNode * | gf_xml_dom_node_clone (GF_XMLNode *node) |
|