Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/xmltree.h

    r94acdd0 rd93c0eb9  
    7979struct xt_parser *xt_new( const struct xt_handler_entry *handlers, gpointer data );
    8080void xt_reset( struct xt_parser *xt );
    81 int xt_feed( struct xt_parser *xt, char *text, int text_len );
     81int xt_feed( struct xt_parser *xt, const char *text, int text_len );
    8282int xt_handle( struct xt_parser *xt, struct xt_node *node, int depth );
    8383void xt_cleanup( struct xt_parser *xt, struct xt_node *node, int depth );
     84struct xt_node *xt_from_string( const char *in );
    8485char *xt_to_string( struct xt_node *node );
    8586void xt_print( struct xt_node *node );
     
    9293struct xt_node *xt_new_node( char *name, const char *text, struct xt_node *children );
    9394void xt_add_child( struct xt_node *parent, struct xt_node *child );
     95void xt_insert_child( struct xt_node *parent, struct xt_node *child );
    9496void xt_add_attr( struct xt_node *node, const char *key, const char *value );
    9597int xt_remove_attr( struct xt_node *node, const char *key );
Note: See TracChangeset for help on using the changeset viewer.