xref: /netbsd-src/external/bsd/openldap/dist/include/lutil_ldap.h (revision b5677b36047b601b9addaaa494a58ceae82c2a6c)
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/>.
3  *
4  * Copyright 1998-2008 The OpenLDAP Foundation.
5  * All rights reserved.
6  *
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.
10  *
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>.
14  */
15 
16 #ifndef _LUTIL_LDAP_H
17 #define _LUTIL_LDAP_H 1
18 
19 #include <ldap_cdefs.h>
20 #include <lber_types.h>
21 
22 /*
23  * Include file for lutil LDAP routines
24  */
25 
26 LDAP_BEGIN_DECL
27 
28 LDAP_LUTIL_F( void )
29 lutil_sasl_freedefs LDAP_P((
30 	void *defaults ));
31 
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 ));
40 
41 LDAP_LUTIL_F( int )
42 lutil_sasl_interact LDAP_P((
43 	LDAP *ld, unsigned flags, void *defaults, void *p ));
44 
45 LDAP_END_DECL
46 
47 #endif /* _LUTIL_LDAP_H */
48