Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/xmltree.c

    r1bf1ae6 r40ef702  
    305305}
    306306
    307 #ifdef DEBUG
    308307void xt_print( struct xt_node *node )
    309308{
     
    356355        printf( "</%s>\n", node->name );
    357356}
    358 #endif
    359357
    360358struct xt_node *xt_dup( struct xt_node *node )
     
    444442   list, not the node itself! The reason you have to do this by hand: So
    445443   that you can also use this function as a find-next. */
    446 struct xt_node *xt_find_node( struct xt_node *node, char *name )
     444struct xt_node *xt_find_node( struct xt_node *node, const char *name )
    447445{
    448446        while( node )
     
    457455}
    458456
    459 char *xt_find_attr( struct xt_node *node, char *key )
     457char *xt_find_attr( struct xt_node *node, const char *key )
    460458{
    461459        int i;
     
    526524}
    527525
    528 void xt_add_attr( struct xt_node *node, char *key, char *value )
     526void xt_add_attr( struct xt_node *node, const char *key, const char *value )
    529527{
    530528        int i;
     
    553551}
    554552
    555 int xt_remove_attr( struct xt_node *node, char *key )
     553int xt_remove_attr( struct xt_node *node, const char *key )
    556554{
    557555        int i, last;
Note: See TracChangeset for help on using the changeset viewer.