summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-20 13:23:16 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-20 13:31:26 +0200
commit6dd711589a8b71145c4ea1d416e305ab0d4c32db (patch)
tree7cef31640a17bace6f105479571600b5c72ab1e8
parentb0f9e3e7b61b33017a5237506db4ebf548593582 (diff)
downloadgnutls-6dd711589a8b71145c4ea1d416e305ab0d4c32db.tar.gz
gnutls.h: define elements of gnutls_init_flags_t
That is, define all the elements that were available prior the move from #define to enum, to allow code relying on
-rw-r--r--lib/includes/gnutls/gnutls.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index dfeff2b246..db00bb278a 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -363,13 +363,21 @@ typedef enum {
*/
typedef enum {
GNUTLS_SERVER = 1,
+#define GNUTLS_SERVER (1)
GNUTLS_CLIENT = (1<<1),
+#define GNUTLS_CLIENT (1<<1)
GNUTLS_DATAGRAM = (1<<2),
+#define GNUTLS_DATAGRAM (1<<2)
GNUTLS_NONBLOCK = (1<<3),
+#define GNUTLS_NONBLOCK (1<<3)
GNUTLS_NO_EXTENSIONS = (1<<4),
+#define GNUTLS_NO_EXTENSIONS (1<<4)
GNUTLS_NO_REPLAY_PROTECTION = (1<<5),
+#define GNUTLS_NO_REPLAY_PROTECTION (1<<5)
GNUTLS_NO_SIGNAL = (1<<6),
+#define GNUTLS_NO_SIGNAL (1<<6)
GNUTLS_ALLOW_ID_CHANGE = (1<<7),
+#define GNUTLS_ALLOW_ID_CHANGE (1<<7)
GNUTLS_ENABLE_FALSE_START = (1<<8),
GNUTLS_FORCE_CLIENT_CERT = (1<<9)
} gnutls_init_flags_t;