52 |
53 |
53 UcxPropParser *ucx_prop_new(); |
54 UcxPropParser *ucx_prop_new(); |
54 void ucx_prop_free(UcxPropParser *parser); |
55 void ucx_prop_free(UcxPropParser *parser); |
55 void ucx_prop_fill(UcxPropParser *parser, char *buf, size_t len); |
56 void ucx_prop_fill(UcxPropParser *parser, char *buf, size_t len); |
56 int ucx_prop_parse(UcxPropParser *parser, sstr_t *name, sstr_t *value); |
57 int ucx_prop_parse(UcxPropParser *parser, sstr_t *name, sstr_t *value); |
|
58 int ucx_prop_parse2map(UcxPropParser *parser, UcxMap *map); |
|
59 |
|
60 int ucx_properties_load(UcxMap *map, FILE *file); |
|
61 int ucx_properties_store(UcxMap *map, FILE *file); |
57 |
62 |
58 #ifdef __cplusplus |
63 #ifdef __cplusplus |
59 } |
64 } |
60 #endif |
65 #endif |
61 |
66 |