Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/xmltree.c

    r259edd4 r40ef702  
    442442   list, not the node itself! The reason you have to do this by hand: So
    443443   that you can also use this function as a find-next. */
    444 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 )
    445445{
    446446        while( node )
     
    455455}
    456456
    457 char *xt_find_attr( struct xt_node *node, char *key )
     457char *xt_find_attr( struct xt_node *node, const char *key )
    458458{
    459459        int i;
     
    524524}
    525525
    526 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 )
    527527{
    528528        int i;
     
    551551}
    552552
    553 int xt_remove_attr( struct xt_node *node, char *key )
     553int xt_remove_attr( struct xt_node *node, const char *key )
    554554{
    555555        int i, last;
Note: See TracChangeset for help on using the changeset viewer.