mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
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.
33 lines
742 B
C
33 lines
742 B
C
#ifndef _LUTIL_H
|
|
#define _LUTIL_H 1
|
|
|
|
#include <ldap_cdefs.h>
|
|
/*
|
|
* Include file for LDAP utility routine
|
|
*/
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
/* ISC Base64 Routines */
|
|
/* base64.c */
|
|
LDAP_F int b64_ntop LDAP_P((u_char const *, size_t, char *, size_t));
|
|
LDAP_F int b64_pton LDAP_P((char const *, u_char *, size_t));
|
|
/* detach.c */
|
|
LDAP_F void lutil_detach LDAP_P((int debug, int do_close));
|
|
/* passwd.c */
|
|
LDAP_F int lutil_passwd LDAP_P((const char *cred, const char *passwd));
|
|
|
|
/* strdup.c */
|
|
#ifndef HAVE_STRDUP
|
|
char *strdup (); /* No prototype, might conflict with someone else''s */
|
|
#endif
|
|
|
|
/* tempnam.c */
|
|
#ifndef HAVE_TEMPNAM
|
|
LDAP_F char *tempnam (); /* No prototype, might conflict with someone else''s */
|
|
#endif
|
|
|
|
LDAP_END_DECL
|
|
|
|
#endif /* _LUTIL_H */
|