/* $OpenLDAP$ */1/* This work is part of OpenLDAP Software <http://www.openldap.org/>.2*3* Copyright 2019-2024 The OpenLDAP Foundation.4* All rights reserved.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted only as authorized by the OpenLDAP8* Public License.9*10* A copy of this license is available in file LICENSE in the11* top-level directory of the distribution or, alternatively, at12* <http://www.OpenLDAP.org/license.html>.13*/1415/* openldap.h - Header for openldap specific interfaces. */1617#ifndef _OPENLDAP_H18#define _OPENLDAP_H 11920#include <ldap.h>2122LDAP_BEGIN_DECL2324#define LDAP_PROTO_TCP 1 /* ldap:// */25#define LDAP_PROTO_UDP 2 /* reserved */26#define LDAP_PROTO_IPC 3 /* ldapi:// */27#define LDAP_PROTO_EXT 4 /* user-defined socket/sockbuf */2829LDAP_F( int )30ldap_init_fd LDAP_P((31ber_socket_t fd,32int proto,33LDAP_CONST char *url,34LDAP **ldp ));3536LDAP_END_DECL3738#endif /* _OPENLDAP_H */394041