change uci_list_configs api for proper exception handling
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index e0b3d30..69f4c12 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -210,7 +210,7 @@ extern int uci_commit(struct uci_context *ctx, struct uci_package *p);
  *
  * @ctx: uci context
  */
-extern char **uci_list_configs(struct uci_context *ctx);
+extern int uci_list_configs(struct uci_context *ctx, char ***list);
 
 /* UCI data structures */
 enum uci_type {