projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uci_revert api cleanup
[project/uci.git]
/
uci.h
diff --git
a/uci.h
b/uci.h
index
ed1a834
..
7866a75
100644
(file)
--- a/
uci.h
+++ b/
uci.h
@@
-247,11
+247,9
@@
extern int uci_add_history_path(struct uci_context *ctx, const char *dir);
/**
* uci_revert: revert all changes to a config item
* @ctx: uci context
/**
* uci_revert: revert all changes to a config item
* @ctx: uci context
- * @p: pointer to a uci_package struct ptr (will be replaced by the revert)
- * @section: section name (optional)
- * @option option name (optional)
+ * @ptr: uci pointer
*/
*/
-extern int uci_revert(struct uci_context *ctx, struct uci_p
ackage **p, const char *section, const char *option
);
+extern int uci_revert(struct uci_context *ctx, struct uci_p
tr *ptr
);
/**
* uci_parse_argument: parse a shell-style argument, with an arbitrary quoting style
/**
* uci_parse_argument: parse a shell-style argument, with an arbitrary quoting style