summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-04-03 12:31:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-03 12:31:19 -0700
commitc3d1a4368ad4049a96a35f52da99024be4fe53a8 (patch)
tree0a3afa09fcfdfa062fc79c40ebd0c4a7f3c27cb3 /utf8.h
parentMerge branch 'jn/maint-instaweb-plack-fix' into maint (diff)
parentformat-patch: rfc2047-encode newlines in headers (diff)
downloadtgif-c3d1a4368ad4049a96a35f52da99024be4fe53a8.tar.xz
Merge branch 'jk/format-patch-multiline-header' into maint
* jk/format-patch-multiline-header: format-patch: rfc2047-encode newlines in headers format-patch: wrap long header lines strbuf: add fixed-length version of add_wrapped_text
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index ebc4d2fa85..81f2c82fab 100644
--- a/utf8.h
+++ b/utf8.h
@@ -10,6 +10,8 @@ int is_encoding_utf8(const char *name);
int strbuf_add_wrapped_text(struct strbuf *buf,
const char *text, int indent, int indent2, int width);
+int strbuf_add_wrapped_bytes(struct strbuf *buf, const char *data, int len,
+ int indent, int indent2, int width);
#ifndef NO_ICONV
char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding);