]> git.sur5r.net Git - openldap/blob - include/lutil.h
Update INSTALL based upon new snapshot naming.
[openldap] / include / lutil.h
1 /*
2  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
3  * All rights reserved.
4  *
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.
9  */
10
11 #ifndef _LUTIL_H
12 #define _LUTIL_H 1
13
14 #include <ldap_cdefs.h>
15 /*
16  * Include file for LDAP utility routine
17  */
18
19 LDAP_BEGIN_DECL
20
21 /* ISC Base64 Routines */
22 /* base64.c */
23
24 LDAP_F( int )
25 lutil_b64_ntop LDAP_P((
26         unsigned char const *,
27         size_t,
28         char *,
29         size_t));
30
31 LDAP_F( int )
32 lutil_b64_pton LDAP_P((
33         char const *,
34         unsigned char *,
35         size_t));
36
37 /* detach.c */
38 LDAP_F( void )
39 lutil_detach LDAP_P((
40         int debug,
41         int do_close));
42
43 /* passwd.c */
44 LDAP_F( int )
45 lutil_passwd LDAP_P((
46         const char *cred,
47         const char *passwd,
48         const char **methods ));
49
50 LDAP_END_DECL
51
52 #endif /* _LUTIL_H */