[libgit2-glib] Bind GgitProxyType
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Bind GgitProxyType
- Date: Sat, 4 Feb 2017 22:53:38 +0000 (UTC)
commit 298e5b3486749ab899675e4a1675d87a47c211b9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Feb 4 17:10:53 2017 +0100
Bind GgitProxyType
libgit2-glib/ggit-types.c | 4 ++++
libgit2-glib/ggit-types.h | 14 ++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-types.c b/libgit2-glib/ggit-types.c
index d4d9b49..8173ffc 100644
--- a/libgit2-glib/ggit-types.c
+++ b/libgit2-glib/ggit-types.c
@@ -128,6 +128,10 @@ ASSERT_ENUM (GGIT_MERGE_FAIL_ON_CONFLICT, GIT_MERGE_FAIL_ON_CONFLICT);
ASSERT_ENUM (GGIT_MERGE_SKIP_REUC, GIT_MERGE_SKIP_REUC);
ASSERT_ENUM (GGIT_MERGE_NO_RECURSIVE, GIT_MERGE_NO_RECURSIVE);
+ASSERT_ENUM (GGIT_PROXY_NONE, GIT_PROXY_NONE);
+ASSERT_ENUM (GGIT_PROXY_AUTO, GIT_PROXY_AUTO);
+ASSERT_ENUM (GGIT_PROXY_SPECIFIED, GIT_PROXY_SPECIFIED);
+
ASSERT_ENUM (GGIT_REBASE_OPERATION_PICK, GIT_REBASE_OPERATION_PICK);
ASSERT_ENUM (GGIT_REBASE_OPERATION_REWORD, GIT_REBASE_OPERATION_REWORD);
ASSERT_ENUM (GGIT_REBASE_OPERATION_EDIT, GIT_REBASE_OPERATION_EDIT);
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index 29d4ac8..b6d91c3 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -625,6 +625,20 @@ typedef enum {
} GgitMergeFlags;
/**
+ * GgitProxyType:
+ * @GGIT_PROXY_NONE: Do not attempt to connect through a proxy.
+ * @GGIT_PROXY_AUTO: Try to auto-detect the proxy from the git configuration.
+ * @GGIT_PROXY_SPECIFIED: Connect via the URL given in the options.
+ *
+ * The type of proxy to use.
+ */
+typedef enum {
+ GGIT_PROXY_NONE,
+ GGIT_PROXY_AUTO,
+ GGIT_PROXY_SPECIFIED
+} GgitProxyType;
+
+/**
* GgitRebaseOperationType:
* @GGIT_REBASE_OPERATION_PICK: The given commit is to be cherry-picked.
* The client should commit the changes and continue if there are no conflicts.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]