more error handling
[project/uci.git] / libuci.h
index 3427526..50c20f1 100644 (file)
--- a/libuci.h
+++ b/libuci.h
@@ -81,6 +81,8 @@ struct uci_context
        /* private: */
        int errno;
        jmp_buf trap;
+       jmp_buf trap_saved;
+       int saved;
 };
 
 struct uci_parse_context
@@ -89,6 +91,7 @@ struct uci_parse_context
        int byte;
 
        /* private: */
+       struct uci_config *cfg;
        FILE *file;
        char *buf;
        int bufsz;