Commit 05a3ab61 by Ben Straub

API updates for net.h

parent fe55f163
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with * This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#ifndef INCLUDE_net_h__ #ifndef INCLUDE_git_net_h__
#define INCLUDE_net_h__ #define INCLUDE_git_net_h__
#include "common.h" #include "common.h"
#include "oid.h" #include "oid.h"
...@@ -44,7 +44,7 @@ struct git_remote_head { ...@@ -44,7 +44,7 @@ struct git_remote_head {
/** /**
* Callback for listing the remote heads * Callback for listing the remote heads
*/ */
typedef int (*git_headlist_cb)(git_remote_head *, void *); typedef int (*git_headlist_cb)(git_remote_head *rhead, void *payload);
/** @} */ /** @} */
GIT_END_DECL GIT_END_DECL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment