X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fldap.h;h=e3f292dbaa17634447ad857c1470e02cc7a05e2d;hb=77408ac781d65097300aff78576aa45c4ff34673;hp=c05489766510af132e562a60418fc27d5f2aae50;hpb=04ff9674514d4fda39a4ad72d6a79baa0599d8e4;p=openldap diff --git a/include/ldap.h b/include/ldap.h index c054897665..e3f292dbaa 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2015 The OpenLDAP Foundation. + * Copyright 1998-2017 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -162,6 +162,9 @@ LDAP_BEGIN_DECL #define LDAP_OPT_X_TLS_VERSION 0x6013 /* read-only */ #define LDAP_OPT_X_TLS_CIPHER 0x6014 /* read-only */ #define LDAP_OPT_X_TLS_PEERCERT 0x6015 /* read-only */ +#define LDAP_OPT_X_TLS_CACERT 0x6016 +#define LDAP_OPT_X_TLS_CERT 0x6017 +#define LDAP_OPT_X_TLS_KEY 0x6018 #define LDAP_OPT_X_TLS_NEVER 0 #define LDAP_OPT_X_TLS_HARD 1 @@ -1545,6 +1548,9 @@ LDAP_F( LDAP * ) ldap_dup LDAP_P(( LDAP *old )); +LDAP_F( int ) +ldap_connect( LDAP *ld ); + /* * in tls.c */