return a pointer to the uci_config struct in uci_load
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 8784c43..6dc00f1 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -67,7 +67,7 @@ extern void uci_perror(struct uci_context *ctx, const char *str);
  * @ctx: uci context
  * @name: name of the config file (relative to the config directory)
  */
-extern int uci_load(struct uci_context *ctx, const char *name);
+extern int uci_load(struct uci_context *ctx, const char *name, struct uci_config **cfg);
 
 /**
  * uci_unload: Unload a config file from the uci context