1*e8c27ec8Sbaban /*
2*e8c27ec8Sbaban  * CDDL HEADER START
3*e8c27ec8Sbaban  *
4*e8c27ec8Sbaban  * The contents of this file are subject to the terms of the
5*e8c27ec8Sbaban  * Common Development and Distribution License (the "License").
6*e8c27ec8Sbaban  * You may not use this file except in compliance with the License.
7*e8c27ec8Sbaban  *
8*e8c27ec8Sbaban  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*e8c27ec8Sbaban  * or http://www.opensolaris.org/os/licensing.
10*e8c27ec8Sbaban  * See the License for the specific language governing permissions
11*e8c27ec8Sbaban  * and limitations under the License.
12*e8c27ec8Sbaban  *
13*e8c27ec8Sbaban  * When distributing Covered Code, include this CDDL HEADER in each
14*e8c27ec8Sbaban  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*e8c27ec8Sbaban  * If applicable, add the following below this CDDL HEADER, with the
16*e8c27ec8Sbaban  * fields enclosed by brackets "[]" replaced with your own identifying
17*e8c27ec8Sbaban  * information: Portions Copyright [yyyy] [name of copyright owner]
18*e8c27ec8Sbaban  *
19*e8c27ec8Sbaban  * CDDL HEADER END
20*e8c27ec8Sbaban  */
21*e8c27ec8Sbaban /*
22*e8c27ec8Sbaban  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*e8c27ec8Sbaban  * Use is subject to license terms.
24*e8c27ec8Sbaban  */
25*e8c27ec8Sbaban 
26*e8c27ec8Sbaban #ifndef _NLDAPUTILS_H
27*e8c27ec8Sbaban #define	_NLDAPUTILS_H
28*e8c27ec8Sbaban 
29*e8c27ec8Sbaban #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*e8c27ec8Sbaban 
31*e8c27ec8Sbaban #include <stdio.h>
32*e8c27ec8Sbaban #include <stdlib.h>
33*e8c27ec8Sbaban #include <syslog.h>
34*e8c27ec8Sbaban #include <stdarg.h>
35*e8c27ec8Sbaban #include <synch.h>
36*e8c27ec8Sbaban #include <thread.h>
37*e8c27ec8Sbaban #include <libintl.h>
38*e8c27ec8Sbaban #include <strings.h>
39*e8c27ec8Sbaban #include <inttypes.h>
40*e8c27ec8Sbaban #include "idmap_prot.h"
41*e8c27ec8Sbaban #include "idmapd.h"
42*e8c27ec8Sbaban #include "idmap_config.h"
43*e8c27ec8Sbaban 
44*e8c27ec8Sbaban #ifdef __cplusplus
45*e8c27ec8Sbaban extern "C" {
46*e8c27ec8Sbaban #endif
47*e8c27ec8Sbaban 
48*e8c27ec8Sbaban extern idmap_retcode	nldap_lookup(idmap_mapping *, idmap_id_res *, int, int);
49*e8c27ec8Sbaban extern idmap_retcode	nldap_lookup_batch(lookup_state_t *,
50*e8c27ec8Sbaban 			idmap_mapping_batch *, idmap_ids_res *);
51*e8c27ec8Sbaban 
52*e8c27ec8Sbaban #ifdef __cplusplus
53*e8c27ec8Sbaban }
54*e8c27ec8Sbaban #endif
55*e8c27ec8Sbaban 
56*e8c27ec8Sbaban #endif /* _NLDAPUTILS_H */
57