openldap/include/lutil.h
Kurt Zeilenga 9225707a06 Modify lutil_passwd to accept a third argument char** methods to
specific which methods may be used.  This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.
1999-06-29 22:24:53 +00:00

48 lines
708 B
C

/*
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#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 )
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));
/* 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,
const char **methods ));
LDAP_END_DECL
#endif /* _LUTIL_H */