diff options
Diffstat (limited to 'include/git2/net.h')
| -rw-r--r-- | include/git2/net.h | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/include/git2/net.h b/include/git2/net.h index 5fb918599..08bc81f16 100644 --- a/include/git2/net.h +++ b/include/git2/net.h @@ -30,6 +30,7 @@ GIT_BEGIN_DECL  #define GIT_DIR_FETCH 0  #define GIT_DIR_PUSH 1 +  /**   * Remote head description, given out on `ls` calls.   */ @@ -41,12 +42,9 @@ struct git_remote_head {  };  /** - * Array of remote heads + * Callback for listing the remote heads   */ -struct git_headarray { -	unsigned int len; -	struct git_remote_head **heads; -}; +typedef int (*git_headlist_cb)(git_remote_head *, void *);  /** @} */  GIT_END_DECL  | 
