xref: /onnv-gate/usr/src/cmd/ldap/ns_ldap/standalone.h (revision 6842:e0ac183a8194)
1*6842Sth160488 /*
2*6842Sth160488  * CDDL HEADER START
3*6842Sth160488  *
4*6842Sth160488  * The contents of this file are subject to the terms of the
5*6842Sth160488  * Common Development and Distribution License (the "License").
6*6842Sth160488  * You may not use this file except in compliance with the License.
7*6842Sth160488  *
8*6842Sth160488  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*6842Sth160488  * or http://www.opensolaris.org/os/licensing.
10*6842Sth160488  * See the License for the specific language governing permissions
11*6842Sth160488  * and limitations under the License.
12*6842Sth160488  *
13*6842Sth160488  * When distributing Covered Code, include this CDDL HEADER in each
14*6842Sth160488  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*6842Sth160488  * If applicable, add the following below this CDDL HEADER, with the
16*6842Sth160488  * fields enclosed by brackets "[]" replaced with your own identifying
17*6842Sth160488  * information: Portions Copyright [yyyy] [name of copyright owner]
18*6842Sth160488  *
19*6842Sth160488  * CDDL HEADER END
20*6842Sth160488  */
21*6842Sth160488 /*
22*6842Sth160488  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*6842Sth160488  * Use is subject to license terms.
24*6842Sth160488  */
25*6842Sth160488 
26*6842Sth160488 #pragma ident	"%Z%%M%	%I%	%E% SMI"
27*6842Sth160488 
28*6842Sth160488 #ifndef	_STANDALONE_H
29*6842Sth160488 #define	_STANDALONE_H
30*6842Sth160488 
31*6842Sth160488 #ifdef	__cplusplus
32*6842Sth160488 extern "C" {
33*6842Sth160488 #endif
34*6842Sth160488 
35*6842Sth160488 #include <strings.h>
36*6842Sth160488 #include <stdio.h>
37*6842Sth160488 #include "ns_sldap.h"
38*6842Sth160488 #include "ns_internal.h"
39*6842Sth160488 
40*6842Sth160488 ns_standalone_conf_t standaloneDefaults;
41*6842Sth160488 
42*6842Sth160488 int separatePort(char *peer, char **name, uint16_t *port);
43*6842Sth160488 
44*6842Sth160488 char *readPwd(char *pwd_file);
45*6842Sth160488 
46*6842Sth160488 #ifdef	__cplusplus
47*6842Sth160488 }
48*6842Sth160488 #endif
49*6842Sth160488 
50*6842Sth160488 #endif	/* _STANDALONE_H */
51