http: fix charset detection of extract_content_type()
[gitweb.git] / strbuf.h
index 39c14cfa384c5154abd96899a7c02417295f8555..4e9a2f88686e211b8610d72e18c02251c2dc8a92 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -45,6 +45,7 @@ static inline void strbuf_setlen(struct strbuf *sb, size_t len)
 extern void strbuf_trim(struct strbuf *);
 extern void strbuf_rtrim(struct strbuf *);
 extern void strbuf_ltrim(struct strbuf *);
+extern int strbuf_reencode(struct strbuf *sb, const char *from, const char *to);
 extern int strbuf_cmp(const struct strbuf *, const struct strbuf *);
 
 /*