X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=7866a75053daecf1e66a117e937f5c1ccb22af9b;hp=ed1a83407ec003e3f364912c9f7db7627a79b67a;hb=29bdad8620257c45dcbff5d15f26ac0b61c7b419;hpb=b485972f3a40be1627fb2bdd9904889a155f12e0 diff --git a/uci.h b/uci.h index ed1a834..7866a75 100644 --- 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 - * @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_package **p, const char *section, const char *option); +extern int uci_revert(struct uci_context *ctx, struct uci_ptr *ptr); /** * uci_parse_argument: parse a shell-style argument, with an arbitrary quoting style