Changes in protocols/jabber/xmltree.c [259edd4:40ef702]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/xmltree.c
r259edd4 r40ef702 442 442 list, not the node itself! The reason you have to do this by hand: So 443 443 that you can also use this function as a find-next. */ 444 struct xt_node *xt_find_node( struct xt_node *node, c har *name )444 struct xt_node *xt_find_node( struct xt_node *node, const char *name ) 445 445 { 446 446 while( node ) … … 455 455 } 456 456 457 char *xt_find_attr( struct xt_node *node, c har *key )457 char *xt_find_attr( struct xt_node *node, const char *key ) 458 458 { 459 459 int i; … … 524 524 } 525 525 526 void xt_add_attr( struct xt_node *node, c har *key,char *value )526 void xt_add_attr( struct xt_node *node, const char *key, const char *value ) 527 527 { 528 528 int i; … … 551 551 } 552 552 553 int xt_remove_attr( struct xt_node *node, c har *key )553 int xt_remove_attr( struct xt_node *node, const char *key ) 554 554 { 555 555 int i, last;
Note: See TracChangeset
for help on using the changeset viewer.