X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=quote.h;h=f83eb233c4b153c4c073b3ccd5bf2f5dd926b739;hb=fe454b13156e639adaae4526d04fd5b74eb8c84c;hp=2315105fa3eae59f6abaf636eec7590c335154b4;hpb=ebbc088e13e1bf0dbf8eb08b00519602c176f864;p=git.git diff --git a/quote.h b/quote.h index 2315105fa..f83eb233c 100644 --- a/quote.h +++ b/quote.h @@ -45,7 +45,7 @@ extern char *sq_dequote(char *); * next argument that should be passed as first parameter. When there * is no more argument to be dequoted, "next" is updated to point to NULL. */ -extern char *sq_dequote_step(char *arg, char **next); +extern int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc); extern int unquote_c_style(struct strbuf *, const char *quoted, const char **endp); extern size_t quote_c_style(const char *name, struct strbuf *, FILE *, int no_dq);