diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-02-22 14:58:54 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-02-22 15:19:23 +0200 |
| commit | 5591ea15a50d3214830a3d152a78a34bcb5f1966 (patch) | |
| tree | 5c57db7a617331bb4717b20664cca088b7bbdf8e /src/filebuf.h | |
| parent | af774b012cba233a577a95ee9b15944df6f3bbbf (diff) | |
| download | libgit2-5591ea15a50d3214830a3d152a78a34bcb5f1966.tar.gz | |
Add printf method to the File Buffer
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/filebuf.h')
| -rw-r--r-- | src/filebuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filebuf.h b/src/filebuf.h index f2e4dba51..b2b5eaf4b 100644 --- a/src/filebuf.h +++ b/src/filebuf.h @@ -31,6 +31,7 @@ typedef struct git_filebuf git_filebuf; int git_filebuf_write(git_filebuf *lock, void *buff, size_t len); int git_filebuf_reserve(git_filebuf *file, void **buff, size_t len); +int git_filebuf_printf(git_filebuf *file, const char *format, ...); int git_filebuf_open(git_filebuf *lock, const char *path, int flags); int git_filebuf_commit(git_filebuf *lock); |
