Changes in lib/xmltree.h [d912fe4:94acdd0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/xmltree.h
rd912fe4 r94acdd0 79 79 struct xt_parser *xt_new( const struct xt_handler_entry *handlers, gpointer data ); 80 80 void xt_reset( struct xt_parser *xt ); 81 int xt_feed( struct xt_parser *xt, c onst char *text, int text_len );81 int xt_feed( struct xt_parser *xt, char *text, int text_len ); 82 82 int xt_handle( struct xt_parser *xt, struct xt_node *node, int depth ); 83 83 void xt_cleanup( struct xt_parser *xt, struct xt_node *node, int depth ); 84 struct xt_node *xt_from_string( const char *in );85 84 char *xt_to_string( struct xt_node *node ); 86 85 void xt_print( struct xt_node *node ); … … 89 88 void xt_free( struct xt_parser *xt ); 90 89 struct xt_node *xt_find_node( struct xt_node *node, const char *name ); 91 struct xt_node *xt_find_path( struct xt_node *node, const char *name );92 90 char *xt_find_attr( struct xt_node *node, const char *key ); 93 91 94 92 struct xt_node *xt_new_node( char *name, const char *text, struct xt_node *children ); 95 93 void xt_add_child( struct xt_node *parent, struct xt_node *child ); 96 void xt_insert_child( struct xt_node *parent, struct xt_node *child );97 94 void xt_add_attr( struct xt_node *node, const char *key, const char *value ); 98 95 int xt_remove_attr( struct xt_node *node, const char *key );
Note: See TracChangeset
for help on using the changeset viewer.