diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2009-12-07 21:54:19 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2009-12-07 21:54:19 +0000 |
commit | 2288705af462b4aca2d56f228bff269eab8d8b5f (patch) | |
tree | cbdf792579f11297773583cc822548867fdfc19c /lib/xmltree.h | |
parent | aac40178a6669e20855b7f5d3cc6a82cba10042e (diff) | |
parent | 36cf9fda6a5cc4bcbfe98319b48af636fa142590 (diff) |
Merging head.
Diffstat (limited to 'lib/xmltree.h')
-rw-r--r-- | lib/xmltree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmltree.h b/lib/xmltree.h index 10677412..34e3be68 100644 --- a/lib/xmltree.h +++ b/lib/xmltree.h @@ -89,7 +89,7 @@ void xt_free( struct xt_parser *xt ); struct xt_node *xt_find_node( struct xt_node *node, const char *name ); char *xt_find_attr( struct xt_node *node, const char *key ); -struct xt_node *xt_new_node( char *name, char *text, struct xt_node *children ); +struct xt_node *xt_new_node( char *name, const char *text, struct xt_node *children ); void xt_add_child( struct xt_node *parent, struct xt_node *child ); void xt_add_attr( struct xt_node *node, const char *key, const char *value ); int xt_remove_attr( struct xt_node *node, const char *key ); |