summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/deprecated.h')
-rw-r--r--include/git2/deprecated.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 7191aa4d3..912396ffd 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -403,6 +403,11 @@ typedef git_push_transfer_progress_cb git_push_transfer_progress;
/** The type of a remote completion event */
#define git_remote_completion_type git_remote_completion_t
+/**
+ * Callback for listing the remote heads
+ */
+typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
+
/**@}*/
/** @name Deprecated Options Initialization Functions