summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-16 17:55:40 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-16 17:56:38 +0100
commit2c6429188743b9077212e37225cced504a523ecc (patch)
tree61c30996106807df5e1a7b97f9d70b4a29bf92bd /include/git2/deprecated.h
parent37e4c1ba1df4e1f9b0f0ab28762c14b862c3338d (diff)
downloadlibgit2-2c6429188743b9077212e37225cced504a523ecc.tar.gz
net: remove unused `git_headlist_cb`ethomson/deprecate_headlist
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