projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add abstraction for listing config files as well
[project/uci.git]
/
uci.h
diff --git
a/uci.h
b/uci.h
index
2fbcb80
..
382e745
100644
(file)
--- 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);
};