X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=quote.h;h=fc5481e78a6baad9ad72014318a9d0bfdd495b6b;hb=ce43697379ad8ffcaf061a4709489728c1dbe911;hp=2486e6e68c2d7fa7bc2f78c18df323cc9adcc894;hpb=1301c6eb412e7c5511b952a12e42c70ad56f028b;p=git.git diff --git a/quote.h b/quote.h index 2486e6e68..fc5481e78 100644 --- a/quote.h +++ b/quote.h @@ -29,6 +29,7 @@ */ extern char *sq_quote(const char *src); +extern void sq_quote_print(FILE *stream, const char *src); extern size_t sq_quote_buf(char *dst, size_t n, const char *src); /* This unwraps what sq_quote() produces in place, but returns @@ -41,7 +42,7 @@ extern int quote_c_style(const char *name, char *outbuf, FILE *outfp, int nodq); extern char *unquote_c_style(const char *quoted, const char **endp); -extern void write_name_quoted(const char *prefix, const char *name, - int quote, FILE *out); +extern void write_name_quoted(const char *prefix, int prefix_len, + const char *name, int quote, FILE *out); #endif