src/properties.c

changeset 1426
3a89b31f0724
parent 1408
aaa440cd4125
equal deleted inserted replaced
1425:83284b289430 1426:3a89b31f0724
49 void cxPropertiesDestroy(CxProperties *prop) { 49 void cxPropertiesDestroy(CxProperties *prop) {
50 cxBufferDestroy(&prop->input); 50 cxBufferDestroy(&prop->input);
51 cxBufferDestroy(&prop->buffer); 51 cxBufferDestroy(&prop->buffer);
52 } 52 }
53 53
54 void cxPropertiesReset(CxProperties *prop) {
55 CxPropertiesConfig config = prop->config;
56 cxPropertiesDestroy(prop);
57 cxPropertiesInit(prop, config);
58 }
59
54 int cxPropertiesFilln( 60 int cxPropertiesFilln(
55 CxProperties *prop, 61 CxProperties *prop,
56 const char *buf, 62 const char *buf,
57 size_t len 63 size_t len
58 ) { 64 ) {

mercurial