diff options
Diffstat (limited to 'src/include/xml/xml.h')
-rw-r--r-- | src/include/xml/xml.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/xml/xml.h b/src/include/xml/xml.h index 5668d12..4ee80b7 100644 --- a/src/include/xml/xml.h +++ b/src/include/xml/xml.h @@ -13,14 +13,14 @@ typedef struct { char *tag; void *payload; size_t size; - size_t n; + int n; attr_t *attrs; int n_attrs; } map_t; /* decode: decodes the provided xml statement into a map_t */ -map_t *decode(char *xml_str, int *len); +map_t *decode(char *xml, int *len); /* encode: encodes the provided map_t into a xml statement */ char *encode(map_t *map, int len); |