Ignore:
Timestamp:
Jun 23, 2014, 9:45:51 PM (11 years ago)
Author:
dmik
Message:

git: Merge version 2.0.0 from vendor to dmik branch.

Location:
git/branches/dmik
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • git/branches/dmik

  • TabularUnified git/branches/dmik/quote.h

    r626 r782  
    2727 * excluding the final null regardless of the buffer size.
    2828 */
    29 
    30 extern void sq_quote_print(FILE *stream, const char *src);
    3129
    3230extern void sq_quote_buf(struct strbuf *, const char *src);
     
    6159extern void write_name_quotedpfx(const char *pfx, size_t pfxlen,
    6260                                 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,
     61extern void write_name_quoted_relative(const char *name, const char *prefix,
    6562                FILE *fp, int terminator);
    6663
    6764/* 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);
     65extern char *quote_path_relative(const char *in, const char *prefix,
     66                          struct strbuf *out);
    7067
    7168/* 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);
     69extern void perl_quote_buf(struct strbuf *sb, const char *src);
     70extern void python_quote_buf(struct strbuf *sb, const char *src);
     71extern void tcl_quote_buf(struct strbuf *sb, const char *src);
    7572
    7673#endif
Note: See TracChangeset for help on using the changeset viewer.