pretty: support truncating in %>, %< and %><
[gitweb.git] / utf8.h
diff --git a/utf8.h b/utf8.h
index a43ef9ae74e1aa9199c9abe0c033d180f4aededf..edde8ee189398f8d6fb8dcd53e5c6da9d0a67884 100644 (file)
--- a/utf8.h
+++ b/utf8.h
@@ -15,6 +15,8 @@ void strbuf_add_wrapped_text(struct strbuf *buf,
                const char *text, int indent, int indent2, int width);
 void strbuf_add_wrapped_bytes(struct strbuf *buf, const char *data, int len,
                             int indent, int indent2, int width);
+void strbuf_utf8_replace(struct strbuf *sb, int pos, int width,
+                        const char *subst);
 
 #ifndef NO_ICONV
 char *reencode_string_iconv(const char *in, size_t insz,