X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=9f03a6f811de2299b445fe84b5572e5d9d468fa8;hp=8a89b71b7a7cce2594586ba605d2b18d2a1ae443;hb=24c59ffa00d5ba40483a1b0c2bce5e5af2b38a3a;hpb=1ac34884c1cc4e808674d8901c97e31776e8fc5c diff --git a/uci.h b/uci.h index 8a89b71..9f03a6f 100644 --- a/uci.h +++ b/uci.h @@ -263,10 +263,11 @@ extern int uci_revert(struct uci_context *ctx, struct uci_package **p, char *sec /** * uci_parse_argument: parse a shell-style argument, with an arbitrary quoting style * @ctx: uci context - * @str: pointer to the input string (will be changed to the end of the parsed string) + * @stream: input stream + * @str: pointer to the current line (use NULL for parsing the next line) * @result: pointer for the result */ -extern int uci_parse_argument(struct uci_context *ctx, char **str, char **result); +extern int uci_parse_argument(struct uci_context *ctx, FILE *stream, char **str, char **result); /* UCI data structures */ enum uci_type {