X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flutil.h;h=be87d7168f8213b3cde48911e48705483eaa3a0f;hb=af25d94db953f7102c57bdf55ba5387df0546641;hp=6f14d55980ab6d2287f97c3ac328b45ea1217a6a;hpb=71eef8a4244bd9064cdbc9597dd1f970a3423e7a;p=openldap diff --git a/include/lutil.h b/include/lutil.h index 6f14d55980..be87d7168f 100644 --- a/include/lutil.h +++ b/include/lutil.h @@ -1,3 +1,13 @@ +/* + * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * All rights reserved. + * + * Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + */ + #ifndef _LUTIL_H #define _LUTIL_H 1 @@ -6,13 +16,16 @@ * Include file for LDAP utility routine */ -/* ISC Base64 Routines */ - LDAP_BEGIN_DECL -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)); +/* 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)); LDAP_END_DECL