Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / include / lutil_ldap.h
blobd1cc962661499dd5662efc82126bb0d37c7aceef
1 /* $OpenLDAP: pkg/ldap/include/lutil_ldap.h,v 1.11.2.3 2008/02/11 23:26:40 kurt Exp $ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2008 The OpenLDAP Foundation.
5 * All rights reserved.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted only as authorized by the OpenLDAP
9 * Public License.
11 * A copy of this license is available in file LICENSE in the
12 * top-level directory of the distribution or, alternatively, at
13 * <http://www.OpenLDAP.org/license.html>.
16 #ifndef _LUTIL_LDAP_H
17 #define _LUTIL_LDAP_H 1
19 #include <ldap_cdefs.h>
20 #include <lber_types.h>
23 * Include file for lutil LDAP routines
26 LDAP_BEGIN_DECL
28 LDAP_LUTIL_F( void )
29 lutil_sasl_freedefs LDAP_P((
30 void *defaults ));
32 LDAP_LUTIL_F( void * )
33 lutil_sasl_defaults LDAP_P((
34 LDAP *ld,
35 char *mech,
36 char *realm,
37 char *authcid,
38 char *passwd,
39 char *authzid ));
41 LDAP_LUTIL_F( int )
42 lutil_sasl_interact LDAP_P((
43 LDAP *ld, unsigned flags, void *defaults, void *p ));
45 LDAP_END_DECL
47 #endif /* _LUTIL_LDAP_H */