Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:35:57

0001 /* $OpenLDAP$ */
0002 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
0003  *
0004  * Copyright 2019-2024 The OpenLDAP Foundation.
0005  * All rights reserved.
0006  *
0007  * Redistribution and use in source and binary forms, with or without
0008  * modification, are permitted only as authorized by the OpenLDAP
0009  * Public License.
0010  *
0011  * A copy of this license is available in file LICENSE in the
0012  * top-level directory of the distribution or, alternatively, at
0013  * <http://www.OpenLDAP.org/license.html>.
0014  */
0015 
0016 /* openldap.h - Header for openldap specific interfaces. */
0017 
0018 #ifndef _OPENLDAP_H
0019 #define _OPENLDAP_H 1
0020 
0021 #include <ldap.h>
0022 
0023 LDAP_BEGIN_DECL
0024 
0025 #define LDAP_PROTO_TCP 1 /* ldap://  */
0026 #define LDAP_PROTO_UDP 2 /* reserved */
0027 #define LDAP_PROTO_IPC 3 /* ldapi:// */
0028 #define LDAP_PROTO_EXT 4 /* user-defined socket/sockbuf */
0029 
0030 LDAP_F( int )
0031 ldap_init_fd LDAP_P((
0032     ber_socket_t fd,
0033     int proto,
0034     LDAP_CONST char *url,
0035     LDAP **ldp ));
0036 
0037 LDAP_END_DECL
0038 
0039 #endif /* _OPENLDAP_H */