]> git.sur5r.net Git - openldap/commitdiff
Options for TLS
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 13 Jul 1999 19:29:19 +0000 (19:29 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 13 Jul 1999 19:29:19 +0000 (19:29 +0000)
libraries/libldap/ldap-int.h

index 66ddb64ccc0689e91a81776121ea3a2316d70a0d..3ab44dacec65622210ffe3668ec63b1474da72f8 100644 (file)
@@ -54,6 +54,7 @@ LDAP_BEGIN_DECL
 #define LDAP_BOOL_REFERRALS            0
 #define LDAP_BOOL_RESTART              1
 #define LDAP_BOOL_DNS                  2
+#define LDAP_BOOL_TLS                  3
 
 #define LDAP_BOOLEANS  unsigned long
 #define LDAP_BOOL(n)   (1 << (n))
@@ -109,7 +110,12 @@ struct ldapoptions {
        /* LDAPv3 server and client controls */
        LDAPControl     **ldo_sctrls;
        LDAPControl **ldo_cctrls;
-       
+
+#ifdef HAVE_TLS
+       /* tls context */
+       void            *ldo_tls_ctx;
+       int             ldo_tls_mode;
+#endif
        LDAP_BOOLEANS ldo_booleans;     /* boolean options */
 };