]> git.ipfire.org Git - thirdparty/git.git/blobdiff - strbuf.h
t5411: add basic test cases for proc-receive hook
[thirdparty/git.git] / strbuf.h
index 411063ca76aa6203f6582be4e5ccc3d47ace2975..16f47202ebf11444261888a5309dd5e36287f884 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -468,6 +468,7 @@ int strbuf_readlink(struct strbuf *sb, const char *path, size_t hint);
  * NUL bytes.
  */
 ssize_t strbuf_write(struct strbuf *sb, FILE *stream);
+ssize_t strbuf_write_fd(struct strbuf *sb, int fd);
 
 /**
  * Read a line from a FILE *, overwriting the existing contents of