1998-12-29 03:51:35 +08:00
|
|
|
/*
|
1999-05-19 09:12:33 +08:00
|
|
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
1998-12-29 03:51:35 +08:00
|
|
|
*/
|
|
|
|
|
1998-09-03 05:31:35 +08:00
|
|
|
#ifndef _LUTIL_H
|
|
|
|
#define _LUTIL_H 1
|
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
#include <ldap_cdefs.h>
|
1998-09-03 05:31:35 +08:00
|
|
|
/*
|
|
|
|
* Include file for LDAP utility routine
|
|
|
|
*/
|
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-16 06:40:11 +08:00
|
|
|
/* ISC Base64 Routines */
|
|
|
|
/* base64.c */
|
1999-05-19 09:12:33 +08:00
|
|
|
|
|
|
|
LDAP_F( int )
|
|
|
|
lutil_b64_ntop LDAP_P((
|
|
|
|
unsigned char const *,
|
|
|
|
size_t,
|
|
|
|
char *,
|
|
|
|
size_t));
|
|
|
|
|
|
|
|
LDAP_F( int )
|
|
|
|
lutil_b64_pton LDAP_P((
|
|
|
|
char const *,
|
|
|
|
unsigned char *,
|
|
|
|
size_t));
|
|
|
|
|
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-16 06:40:11 +08:00
|
|
|
/* detach.c */
|
1999-05-19 09:12:33 +08:00
|
|
|
LDAP_F( void )
|
|
|
|
lutil_detach LDAP_P((
|
|
|
|
int debug,
|
|
|
|
int do_close));
|
|
|
|
|
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-16 06:40:11 +08:00
|
|
|
/* passwd.c */
|
1999-05-19 09:12:33 +08:00
|
|
|
LDAP_F( int )
|
|
|
|
lutil_passwd LDAP_P((
|
|
|
|
const char *cred,
|
|
|
|
const char *passwd));
|
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-16 06:40:11 +08:00
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
LDAP_END_DECL
|
1998-09-03 05:31:35 +08:00
|
|
|
|
|
|
|
#endif /* _LUTIL_H */
|