abspath: convert absolute_path() to strbuf
[gitweb.git] / strbuf.h
index 23b16c6cdf580984db5d5e9d3213bfcd473e95cf..455826ceb075631fdd9c86e54344080895808259 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -179,6 +179,8 @@ extern void strbuf_addstr_urlencode(struct strbuf *, const char *,
                                    int reserved);
 extern void strbuf_humanise_bytes(struct strbuf *buf, off_t bytes);
 
+extern void strbuf_add_absolute_path(struct strbuf *sb, const char *path);
+
 __attribute__((format (printf,1,2)))
 extern int printf_ln(const char *fmt, ...);
 __attribute__((format (printf,2,3)))