2 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
5 * Redistribution and use in source and binary forms are permitted only
6 * as authorized by the OpenLDAP Public License. A copy of this
7 * license is available at http://www.OpenLDAP.org/license.html or
8 * in file LICENSE in the top-level directory of the distribution.
11 * ldap-pvt.h - Header for ldap_pvt_ functions. These are meant to be used
12 * by the OpenLDAP distribution only.
18 #include <ldap_cdefs.h>
22 struct hostent; /* avoid pulling in <netdb.h> */
24 LDAP_F char *ldap_pvt_ctime LDAP_P(( const time_t *tp, char *buf ));
25 LDAP_F int ldap_pvt_gethostbyname_a LDAP_P((
27 struct hostent *resbuf,
29 struct hostent **result,
31 LDAP_F int ldap_pvt_gethostbyaddr_a LDAP_P((
35 struct hostent *resbuf,
37 struct hostent **result,
39 LDAP_F void ldap_pvt_init_utils LDAP_P(( void ));