ucx/properties.c

changeset 870
e167cf006213
parent 845
f3ab28ed22e5
child 943
9b5948aa5b90
equal deleted inserted replaced
869:6b7a178cff7c 870:e167cf006213
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