1.1 --- a/ucx/properties.h Sun Jul 14 17:11:34 2013 +0200 1.2 +++ b/ucx/properties.h Mon Jul 15 13:53:51 2013 +0200 1.3 @@ -48,14 +48,14 @@ 1.4 char comment1; 1.5 char comment2; 1.6 char comment3; 1.7 -} UcxPropParser; 1.8 +} UcxProperties; 1.9 1.10 1.11 -UcxPropParser *ucx_prop_new(); 1.12 -void ucx_prop_free(UcxPropParser *parser); 1.13 -void ucx_prop_fill(UcxPropParser *parser, char *buf, size_t len); 1.14 -int ucx_prop_parse(UcxPropParser *parser, sstr_t *name, sstr_t *value); 1.15 -int ucx_prop_parse2map(UcxPropParser *parser, UcxMap *map); 1.16 +UcxProperties *ucx_properties_new(); 1.17 +void ucx_properties_free(UcxProperties *parser); 1.18 +void ucx_properties_fill(UcxProperties *parser, char *buf, size_t len); 1.19 +int ucx_properties_next(UcxProperties *parser, sstr_t *name, sstr_t *value); 1.20 +int ucx_properties2map(UcxProperties *parser, UcxMap *map); 1.21 1.22 int ucx_properties_load(UcxMap *map, FILE *file); 1.23 int ucx_properties_store(UcxMap *map, FILE *file);