uci: fix atomicity of uci_add_list
[project/uci.git] / uci_internal.h
index 3a94dbbcc424fcd20813dc4cfa2279617b6b29e8..34528f0495050e0652ec2c3a426eb0299daca4d4 100644 (file)
@@ -33,6 +33,7 @@ struct uci_parse_context
        const char *name;
        char *buf;
        size_t bufsz;
+       size_t buf_filled;
        size_t pos;
 };
 #define pctx_pos(pctx)         ((pctx)->pos)