]> git.sur5r.net Git - openldap/blobdiff - include/ldap_pvt.h
Fix "configurations".
[openldap] / include / ldap_pvt.h
index f7ee989119321df4a0c98ea00e9f986b542fc256..a14a2a80a2f849f64078b7ed1a78c9b90062dff9 100644 (file)
 #ifndef _LDAP_PVT_H
 #define _LDAP_PVT_H 1
 
+#include <ldap_cdefs.h>
+
+LDAP_BEGIN_DECL
+
 struct hostent;        /* avoid pulling in <netdb.h> */
 
-extern char *ldap_pvt_strtok( char *str, const char *delim, char **pos );
-extern char *ldap_pvt_ctime( const time_t *tp, char *buf );
-extern int ldap_pvt_gethostbyname_a(
+LDAP_F char *ldap_pvt_ctime LDAP_P(( const time_t *tp, char *buf ));
+LDAP_F int ldap_pvt_gethostbyname_a LDAP_P((
        const char *name, 
        struct hostent *resbuf,
        char **buf,
        struct hostent **result,
-       int *herrno_ptr );
-extern int ldap_pvt_gethostbyaddr_a(
+       int *herrno_ptr ));
+LDAP_F int ldap_pvt_gethostbyaddr_a LDAP_P((
        const char *addr,
        int len,
        int type,
        struct hostent *resbuf,
        char **buf,
        struct hostent **result,
-       int *herrno_ptr );
-extern void ldap_pvt_init_utils( void );
+       int *herrno_ptr ));
+LDAP_F void ldap_pvt_init_utils LDAP_P(( void ));
+
+LDAP_END_DECL
+
 #endif