summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-12-06 12:26:04 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2014-12-06 12:26:04 -0500
commitf2e09b8aac1e107a3a02f2831b46d5b4367cd5ca (patch)
tree231e6871e87fa93c1c868ccb50d72312c9263b07 /include/git2/net.h
parent013924c17c03c42bce363ea1ddc949444164c2bc (diff)
parenta295bd2dc4a1ac2b15b9c39089d148499e6e9e00 (diff)
downloadlibgit2-f2e09b8aac1e107a3a02f2831b46d5b4367cd5ca.tar.gz
Merge pull request #2748 from libgit2/cmn/doc-all
doc: add documentation to all the public structs and enums
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index 8cffa18dc..04dff34bc 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -21,12 +21,13 @@ GIT_BEGIN_DECL
#define GIT_DEFAULT_PORT "9418"
-/*
+/**
+ * Direction of the connection.
+ *
* We need this because we need to know whether we should call
* git-upload-pack or git-receive-pack on the remote end when get_refs
* gets called.
*/
-
typedef enum {
GIT_DIRECTION_FETCH = 0,
GIT_DIRECTION_PUSH = 1