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