mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Merge pull request #341 from carlosmn/development
Fixup network headers
This commit is contained in:
commit
2b7fffa892
@ -29,6 +29,14 @@
|
|||||||
#include "oid.h"
|
#include "oid.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file git2/net.h
|
||||||
|
* @brief Git networking declarations
|
||||||
|
* @ingroup Git
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
GIT_BEGIN_DECL
|
||||||
|
|
||||||
#define GIT_DEFAULT_PORT "9418"
|
#define GIT_DEFAULT_PORT "9418"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -40,14 +48,6 @@
|
|||||||
#define GIT_DIR_FETCH 0
|
#define GIT_DIR_FETCH 0
|
||||||
#define GIT_DIR_PUSH 1
|
#define GIT_DIR_PUSH 1
|
||||||
|
|
||||||
/**
|
|
||||||
* @file git2/net.h
|
|
||||||
* @brief Git networking declarations
|
|
||||||
* @ingroup Git
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
GIT_BEGIN_DECL
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remote head description, given out on `ls` calls.
|
* Remote head description, given out on `ls` calls.
|
||||||
*/
|
*/
|
||||||
@ -64,6 +64,6 @@ struct git_headarray {
|
|||||||
struct git_remote_head **heads;
|
struct git_remote_head **heads;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** @} */
|
||||||
GIT_END_DECL
|
GIT_END_DECL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -28,6 +28,14 @@
|
|||||||
#include "git2/common.h"
|
#include "git2/common.h"
|
||||||
#include "git2/repository.h"
|
#include "git2/repository.h"
|
||||||
#include "git2/refspec.h"
|
#include "git2/refspec.h"
|
||||||
|
/**
|
||||||
|
* @file git2/remote.h
|
||||||
|
* @brief Git remote management functions
|
||||||
|
* @defgroup git_remote remote management functions
|
||||||
|
* @ingroup Git
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
GIT_BEGIN_DECL
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: This functions still need to be implemented:
|
* TODO: This functions still need to be implemented:
|
||||||
@ -117,6 +125,6 @@ GIT_EXTERN(int) git_remote_ls(git_remote *remote, git_headarray *refs);
|
|||||||
*/
|
*/
|
||||||
GIT_EXTERN(void) git_remote_free(struct git_remote *remote);
|
GIT_EXTERN(void) git_remote_free(struct git_remote *remote);
|
||||||
|
|
||||||
|
/** @} */
|
||||||
GIT_END_DECL
|
GIT_END_DECL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user