extern int uci_import(struct uci_context *ctx, FILE *stream, const char *name, struct uci_config **cfg);
/**
+ * uci_export: Export one or all uci config packages
+ * @ctx: uci context
+ * @stream: output stream
+ * @cfg: (optional) uci config package to export
+ */
+extern int uci_export(struct uci_context *ctx, FILE *stream, struct uci_config *cfg);
+
+/**
* uci_load: Parse an uci config file and store it in the uci context
*
* @ctx: uci context
/* private: */
int errno;
jmp_buf trap;
+ char *buf;
+ int bufsz;
};
struct uci_parse_context