Changeset 256899f for protocols/jabber/xmltree.c
- Timestamp:
- 2007-11-19T23:16:18Z (16 years ago)
- Branches:
- master
- Children:
- 7df5a08
- Parents:
- cd428e4 (diff), ef5c185 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/xmltree.c
rcd428e4 r256899f 444 444 list, not the node itself! The reason you have to do this by hand: So 445 445 that you can also use this function as a find-next. */ 446 struct xt_node *xt_find_node( struct xt_node *node, c har *name )446 struct xt_node *xt_find_node( struct xt_node *node, const char *name ) 447 447 { 448 448 while( node ) … … 457 457 } 458 458 459 char *xt_find_attr( struct xt_node *node, c har *key )459 char *xt_find_attr( struct xt_node *node, const char *key ) 460 460 { 461 461 int i; … … 526 526 } 527 527 528 void xt_add_attr( struct xt_node *node, c har *key,char *value )528 void xt_add_attr( struct xt_node *node, const char *key, const char *value ) 529 529 { 530 530 int i; … … 553 553 } 554 554 555 int xt_remove_attr( struct xt_node *node, c har *key )555 int xt_remove_attr( struct xt_node *node, const char *key ) 556 556 { 557 557 int i, last;
Note: See TracChangeset
for help on using the changeset viewer.