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