Make prototypes available where needed

This commit is contained in:
Ondřej Kuzník 2019-02-19 10:26:39 +00:00
parent 7a98f7de5d
commit cd914149a6
3 changed files with 8 additions and 0 deletions

View file

@ -76,6 +76,9 @@ static oid_name oids[] = {
#ifdef HAVE_TLS
LDAP_F(int) ldap_pvt_tls_check_hostname LDAP_P(( LDAP *ld, void *s, const char *name_in ));
LDAP_F(int) ldap_pvt_tls_get_peercert LDAP_P(( void *s, struct berval *der ));
void
ldap_pvt_tls_ctx_free ( void *c )
{

View file

@ -48,6 +48,7 @@
#endif
#include "lutil.h"
#include "lutil_ldap.h"
#include "ldif.h"
#include "config.h"
#ifdef _WIN32

View file

@ -755,6 +755,7 @@ LDAP_SLAPD_F (int) bindconf_unparse LDAP_P((
LDAP_SLAPD_F (int) bindconf_tls_set LDAP_P((
slap_bindconf *bc, LDAP *ld ));
LDAP_SLAPD_F (void) bindconf_free LDAP_P(( slap_bindconf *bc ));
LDAP_SLAPD_F (void) slap_client_keepalive LDAP_P(( LDAP *ld, slap_keepalive *sk ));
LDAP_SLAPD_F (int) slap_client_connect LDAP_P(( LDAP **ldp, slap_bindconf *sb ));
LDAP_SLAPD_F (int) config_generic_wrapper LDAP_P(( Backend *be,
const char *fname, int lineno, int argc, char **argv ));
@ -1683,6 +1684,9 @@ LDAP_SLAPD_F (int) slap_sasl_external( Connection *c,
slap_ssf_t ssf, /* relative strength of external security */
struct berval *authid ); /* asserted authentication id */
LDAP_SLAPD_F (int) slap_sasl_cbinding( Connection *c,
struct berval *cbv );
LDAP_SLAPD_F (int) slap_sasl_reset( Connection *c );
LDAP_SLAPD_F (int) slap_sasl_close( Connection *c );