Changes in protocols/jabber/xmltree.c [1bf1ae6:40ef702]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/xmltree.c
r1bf1ae6 r40ef702 305 305 } 306 306 307 #ifdef DEBUG308 307 void xt_print( struct xt_node *node ) 309 308 { … … 356 355 printf( "</%s>\n", node->name ); 357 356 } 358 #endif359 357 360 358 struct xt_node *xt_dup( struct xt_node *node ) … … 444 442 list, not the node itself! The reason you have to do this by hand: So 445 443 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 )444 struct xt_node *xt_find_node( struct xt_node *node, const char *name ) 447 445 { 448 446 while( node ) … … 457 455 } 458 456 459 char *xt_find_attr( struct xt_node *node, c har *key )457 char *xt_find_attr( struct xt_node *node, const char *key ) 460 458 { 461 459 int i; … … 526 524 } 527 525 528 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 ) 529 527 { 530 528 int i; … … 553 551 } 554 552 555 int xt_remove_attr( struct xt_node *node, c har *key )553 int xt_remove_attr( struct xt_node *node, const char *key ) 556 554 { 557 555 int i, last;
Note: See TracChangeset
for help on using the changeset viewer.