1/* $NetBSD: lutil_ldap.h,v 1.3 2021/08/14 16:14:55 christos Exp $ */ 2 3/* $OpenLDAP$ */ 4/* This work is part of OpenLDAP Software <http://www.openldap.org/>. 5 * 6 * Copyright 1998-2021 The OpenLDAP Foundation. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted only as authorized by the OpenLDAP 11 * Public License. 12 * 13 * A copy of this license is available in file LICENSE in the 14 * top-level directory of the distribution or, alternatively, at 15 * <http://www.OpenLDAP.org/license.html>. 16 */ 17 18#ifndef _LUTIL_LDAP_H 19#define _LUTIL_LDAP_H 1 20 21#include <ldap_cdefs.h> 22#include <lber_types.h> 23 24/* 25 * Include file for lutil LDAP routines 26 */ 27 28LDAP_BEGIN_DECL 29 30LDAP_LUTIL_F( void ) 31lutil_sasl_freedefs LDAP_P(( 32 void *defaults )); 33 34LDAP_LUTIL_F( void * ) 35lutil_sasl_defaults LDAP_P(( 36 LDAP *ld, 37 char *mech, 38 char *realm, 39 char *authcid, 40 char *passwd, 41 char *authzid )); 42 43LDAP_LUTIL_F( int ) 44lutil_sasl_interact LDAP_P(( 45 LDAP *ld, unsigned flags, void *defaults, void *p )); 46 47LDAP_END_DECL 48 49#endif /* _LUTIL_LDAP_H */ 50