From 1e76676fb45a72211cfc6ffd579500b174e7202f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 27 Jul 2011 01:22:50 +0200 Subject: [PATCH] Fixup network headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The network headers were still missing some formalities. Signed-off-by: Carlos Martín Nieto --- include/git2/net.h | 18 +++++++++--------- include/git2/remote.h | 10 +++++++++- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/include/git2/net.h b/include/git2/net.h index 18dd2df09..164f0ac0a 100644 --- a/include/git2/net.h +++ b/include/git2/net.h @@ -29,6 +29,14 @@ #include "oid.h" #include "types.h" +/** + * @file git2/net.h + * @brief Git networking declarations + * @ingroup Git + * @{ + */ +GIT_BEGIN_DECL + #define GIT_DEFAULT_PORT "9418" /* @@ -40,14 +48,6 @@ #define GIT_DIR_FETCH 0 #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. */ @@ -64,6 +64,6 @@ struct git_headarray { struct git_remote_head **heads; }; +/** @} */ GIT_END_DECL - #endif diff --git a/include/git2/remote.h b/include/git2/remote.h index 7775070d8..723ff8f0e 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -28,6 +28,14 @@ #include "git2/common.h" #include "git2/repository.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: @@ -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_END_DECL - #endif