summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-07-27 01:22:50 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-07-27 01:22:50 +0200
commit1e76676fb45a72211cfc6ffd579500b174e7202f (patch)
tree0bdeef8ce26eea608a87385bf4923e916e8a9d23 /include/git2/net.h
parent4930e7218776bb6fda4b7f6e02d0b3bdfdd8bae4 (diff)
downloadlibgit2-1e76676fb45a72211cfc6ffd579500b174e7202f.tar.gz
Fixup network headers
The network headers were still missing some formalities. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index 18dd2df0..164f0ac0 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"
/*
@@ -41,14 +49,6 @@
#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.
*/
struct git_remote_head {
@@ -64,6 +64,6 @@ struct git_headarray {
struct git_remote_head **heads;
};
+/** @} */
GIT_END_DECL
-
#endif