Changeset 782 for git/branches/dmik/quote.h
- Timestamp:
- Jun 23, 2014, 9:45:51 PM (11 years ago)
- Location:
- git/branches/dmik
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
git/branches/dmik ¶
- Property svn:mergeinfo changed
/git/vendor/2.0.0 (added) merged: 777 /git/vendor/current merged: 772,774,776
- Property svn:mergeinfo changed
-
TabularUnified git/branches/dmik/quote.h ¶
r626 r782 27 27 * excluding the final null regardless of the buffer size. 28 28 */ 29 30 extern void sq_quote_print(FILE *stream, const char *src);31 29 32 30 extern void sq_quote_buf(struct strbuf *, const char *src); … … 61 59 extern void write_name_quotedpfx(const char *pfx, size_t pfxlen, 62 60 const char *name, FILE *, int terminator); 63 extern void write_name_quoted_relative(const char *name, size_t len, 64 const char *prefix, size_t prefix_len, 61 extern void write_name_quoted_relative(const char *name, const char *prefix, 65 62 FILE *fp, int terminator); 66 63 67 64 /* quote path as relative to the given prefix */ 68 extern char *quote_path_relative(const char *in, int len,69 struct strbuf *out , const char *prefix);65 extern char *quote_path_relative(const char *in, const char *prefix, 66 struct strbuf *out); 70 67 71 68 /* quoting as a string literal for other languages */ 72 extern void perl_quote_ print(FILE *stream, const char *src);73 extern void python_quote_ print(FILE *stream, const char *src);74 extern void tcl_quote_ print(FILE *stream, const char *src);69 extern void perl_quote_buf(struct strbuf *sb, const char *src); 70 extern void python_quote_buf(struct strbuf *sb, const char *src); 71 extern void tcl_quote_buf(struct strbuf *sb, const char *src); 75 72 76 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.