contrib: add credential helper for OS X Keychain
[gitweb.git] / strbuf.h
index 46a33f8c46985c4377071011d6ea48d6d3fe5331..cecd48c45adaaaf55e7139cf534c97ded1073c48 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -115,4 +115,9 @@ extern int launch_editor(const char *path, struct strbuf *buffer, const char *co
 extern int strbuf_branchname(struct strbuf *sb, const char *name);
 extern int strbuf_check_branch_ref(struct strbuf *sb, const char *name);
 
+extern void strbuf_add_urlencode(struct strbuf *, const char *, size_t,
+                                int reserved);
+extern void strbuf_addstr_urlencode(struct strbuf *, const char *,
+                                   int reserved);
+
 #endif /* STRBUF_H */