[glib/tls-database] Move GTlsDatabaseVerifyFlags to gioenums.h
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/tls-database] Move GTlsDatabaseVerifyFlags to gioenums.h
- Date: Tue, 28 Dec 2010 02:46:05 +0000 (UTC)
commit 17f32364ea0047cc9bc026d0983f0b1ca9f26cf9
Author: Stef Walter <stefw collabora co uk>
Date: Mon Dec 27 20:40:42 2010 -0600
Move GTlsDatabaseVerifyFlags to gioenums.h
https://bugzilla.gnome.org/show_bug.cgi?id=636572
gio/gioenums.h | 12 ++++++++++++
gio/gtlsdatabase.h | 4 ----
2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/gio/gioenums.h b/gio/gioenums.h
index 0b2c576..41ba975 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -1372,6 +1372,18 @@ typedef enum {
G_TLS_REHANDSHAKE_UNSAFELY
} GTlsRehandshakeMode;
+/**
+ * GTlsDatabaseVerifyFlags:
+ * @G_TLS_DATABASE_VERIFY_NONE: No verification flags
+ *
+ * Flags for g_tls_database_verify_chain().
+ *
+ * Since: 2.28
+ */
+typedef enum {
+ G_TLS_DATABASE_VERIFY_NONE = 0,
+} GTlsDatabaseVerifyFlags;
+
G_END_DECLS
#endif /* __GIO_ENUMS_H__ */
diff --git a/gio/gtlsdatabase.h b/gio/gtlsdatabase.h
index 3bda975..13e790c 100644
--- a/gio/gtlsdatabase.h
+++ b/gio/gtlsdatabase.h
@@ -31,10 +31,6 @@
G_BEGIN_DECLS
-typedef enum {
- G_TLS_DATABASE_VERIFY_NONE = 0,
-} GTlsDatabaseVerifyFlags;
-
#define G_TLS_DATABASE_PURPOSE_SERVER_AUTH "1.3.6.1.5.5.7.3.1"
#define G_TLS_DATABASE_PURPOSE_CLIENT_AUTH "1.3.6.1.5.5.7.3.2"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]