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