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