]> git.sur5r.net Git - openldap/blob - include/lutil.h
eca91207f9e801ab21c12f55e40fd8835d8773a6
[openldap] / include / lutil.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11
12 #ifndef _LUTIL_H
13 #define _LUTIL_H 1
14
15 #include <ldap_cdefs.h>
16 /*
17  * Include file for LDAP utility routine
18  */
19
20 LDAP_BEGIN_DECL
21
22 /* ISC Base64 Routines */
23 /* base64.c */
24
25 LDAP_F( int )
26 lutil_b64_ntop LDAP_P((
27         unsigned char const *,
28         size_t,
29         char *,
30         size_t));
31
32 LDAP_F( int )
33 lutil_b64_pton LDAP_P((
34         char const *,
35         unsigned char *,
36         size_t));
37
38 /* detach.c */
39 LDAP_F( void )
40 lutil_detach LDAP_P((
41         int debug,
42         int do_close));
43
44 /* passwd.c */
45 LDAP_F( int )
46 lutil_passwd LDAP_P((
47         const char *cred,
48         const char *passwd,
49         const char **methods ));
50
51 /* utils.c */
52 LDAP_F( char* )
53 lutil_progname LDAP_P((
54         const char* name,
55         int argc,
56         char *argv[] ));
57
58
59 LDAP_END_DECL
60
61 #endif /* _LUTIL_H */