summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-03-29 17:35:02 +0200
committerCarlos Martín Nieto <cmn@elego.de>2011-03-29 17:35:02 +0200
commit6d7bb4e039f6f6cf4e8542024550840a4ba50624 (patch)
tree049f6f6d6d48887a9adbfcd61903fcdfb033a71d /include/git2
parent3d23b74af75bc35b3676c1a7fc1f5a0299c9f4ee (diff)
downloadlibgit2-6d7bb4e039f6f6cf4e8542024550840a4ba50624.tar.gz
Move git_cvar_type to include/git2/config.h
Include it in src/config.h and fix the header name #define. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/types.h b/include/git2/types.h
index aa53909d2..269c48249 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -153,6 +153,13 @@ typedef enum {
GIT_REF_HAS_PEEL = 8,
} git_rtype;
+/** Config variable type */
+typedef enum {
+ GIT_VAR_INT, /** Stores an integer value */
+ GIT_VAR_BOOL, /** Stores a boolean value */
+ GIT_VAR_STR /** Stores a string */
+} git_cvar_type;
+
/** @} */
GIT_END_DECL