- Timestamp:
- 2008-02-16T22:40:38Z (17 years ago)
- Branches:
- master
- Children:
- e6648bf
- Parents:
- add23a2
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/xmltree.c
radd23a2 r4bbcba3 111 111 }; 112 112 113 struct xt_parser *xt_new( gpointer data )113 struct xt_parser *xt_new( const struct xt_handler_entry *handlers, gpointer data ) 114 114 { 115 115 struct xt_parser *xt = g_new0( struct xt_parser, 1 ); 116 116 117 117 xt->data = data; 118 xt->handlers = handlers; 118 119 xt_reset( xt ); 119 120 -
lib/xmltree.h
radd23a2 r4bbcba3 71 71 struct xt_node *cur; 72 72 73 struct xt_handler_entry *handlers;73 const struct xt_handler_entry *handlers; 74 74 gpointer data; 75 75 … … 77 77 }; 78 78 79 struct xt_parser *xt_new( gpointer data );79 struct xt_parser *xt_new( const struct xt_handler_entry *handlers, gpointer data ); 80 80 void xt_reset( struct xt_parser *xt ); 81 81 int xt_feed( struct xt_parser *xt, char *text, int text_len );
Note: See TracChangeset
for help on using the changeset viewer.