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> */
25 ldap_pvt_ctime LDAP_P((
30 ldap_pvt_gethostbyname_a LDAP_P((
32 struct hostent *resbuf,
34 struct hostent **result,
38 ldap_pvt_gethostbyaddr_a LDAP_P((
42 struct hostent *resbuf,
44 struct hostent **result,
51 ldap_charray_add LDAP_P((
56 ldap_charray_merge LDAP_P((
61 ldap_charray_free LDAP_P(( char **a ));
64 ldap_charray_inlist LDAP_P((
69 ldap_charray_dup LDAP_P(( char **a ));
72 ldap_str2charray LDAP_P((
77 void ldap_pvt_hex_unescape LDAP_P(( char *s ));
78 int ldap_pvt_unhex( int c );