ucx/properties.c

changeset 113
dde28a806552
parent 112
c3f2f16fa4b8
--- a/ucx/properties.c	Sun Oct 19 21:20:08 2025 +0200
+++ b/ucx/properties.c	Mon Nov 10 21:52:51 2025 +0100
@@ -51,6 +51,12 @@
     cxBufferDestroy(&prop->buffer);
 }
 
+void cxPropertiesReset(CxProperties *prop) {
+    CxPropertiesConfig config = prop->config;
+    cxPropertiesDestroy(prop);
+    cxPropertiesInit(prop, config);
+}
+
 int cxPropertiesFilln(
         CxProperties *prop,
         const char *buf,

mercurial