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