summaryrefslogtreecommitdiff
path: root/uci.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-12 11:36:24 +0100
committerFelix Fietkau <nbd@openwrt.org>2008-02-12 11:36:24 +0100
commit80e2e58f4e4c0d8ff492281fa998d550a85b4d92 (patch)
tree1b7fa362d96085c649528cd61299ab574bb9eaf8 /uci.h
parentd11b68d88492b776de59a3ecf5536fb92539a70c (diff)
downloaduci-80e2e58f4e4c0d8ff492281fa998d550a85b4d92.tar.gz
add abstraction for listing config files as well
Diffstat (limited to 'uci.h')
-rw-r--r--uci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uci.h b/uci.h
index 2fbcb80..382e745 100644
--- a/uci.h
+++ b/uci.h
@@ -299,6 +299,7 @@ struct uci_element
struct uci_backend
{
const char *name;
+ char **(*list_configs)(struct uci_context *ctx);
struct uci_package *(*load)(struct uci_context *ctx, const char *name);
void (*commit)(struct uci_context *ctx, struct uci_package **p, bool overwrite);
};