ucx/properties.c

changeset 113
dde28a806552
parent 112
c3f2f16fa4b8
equal deleted inserted replaced
112:c3f2f16fa4b8 113:dde28a806552
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