summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-05-14 17:54:25 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-08-24 20:29:39 +0200
commite03e71da56608f60770eb80767dcd94e698cdcae (patch)
tree934f1fe3e0441aaa96d0a91609e30f898d1ac8c8 /include/git2/remote.h
parentbffa852f89268390d6bc3e6f99f5f0cccdc88f63 (diff)
downloadlibgit2-e03e71da56608f60770eb80767dcd94e698cdcae.tar.gz
network: add sideband support
This lets us notify the user of what the remote end is doing while we wait for it to start sending us the packfile.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 96f460e9..a3913af5 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -287,7 +287,7 @@ typedef enum git_remote_completion_type {
* Set the calbacks to be called by the remote.
*/
struct git_remote_callbacks {
- int (*progress)(const char *str, void *data);
+ void (*progress)(const char *str, int len, void *data);
int (*completion)(git_remote_completion_type type, void *data);
int (*update_tips)(const char *refname, const git_oid *a, const git_oid *b, void *data);
void *data;