]> git.sur5r.net Git - openldap/blob - include/lutil.h
3f3a09d392fe32179e9c5ad14a5b4cc54138cc07
[openldap] / include / lutil.h
1 #ifndef _LUTIL_H
2 #define _LUTIL_H 1
3
4 #include <ldap_cdefs.h>
5 /*
6  * Include file for LDAP utility routine
7  */
8
9 LDAP_BEGIN_DECL
10
11 /* ISC Base64 Routines */
12 /* base64.c */
13 LDAP_F int b64_ntop LDAP_P((u_char const *, size_t, char *, size_t));
14 LDAP_F int b64_pton LDAP_P((char const *, u_char *, size_t));
15 /* detach.c */
16 LDAP_F void lutil_detach LDAP_P((int debug, int do_close));
17 /* passwd.c */
18 LDAP_F int lutil_passwd LDAP_P((const char *cred, const char *passwd));
19
20 /* strdup.c */
21 #ifndef HAVE_STRDUP
22 char *strdup ();        /* No prototype, might conflict with someone else''s */
23 #endif
24
25 /* tempnam.c */
26 #ifndef HAVE_TEMPNAM
27 LDAP_F char *tempnam (); /* No prototype, might conflict with someone else''s */
28 #endif
29
30 LDAP_END_DECL
31
32 #endif /* _LUTIL_H */