1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler errors on IRIX

This commit is contained in:
Gerald Carter 2004-07-14 13:32:30 +00:00 committed by Gerald (Jerry) Carter
parent 36741d3cf5
commit b47971174d

View File

@ -1309,6 +1309,15 @@ void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, BOOL remote); BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, BOOL remote);
#endif /* HAVE_KRB5 */ #endif /* HAVE_KRB5 */
#ifdef HAVE_LDAP
/* function declarations not included in proto.h */
LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
#endif /* HAVE_LDAP */
/* TRUE and FALSE are part of the C99 standard and gcc, but /* TRUE and FALSE are part of the C99 standard and gcc, but
unfortunately many vendor compilers don't support them. Use True unfortunately many vendor compilers don't support them. Use True
and False instead. */ and False instead. */