summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/configure_instance.h
blob: 3da7670d32692fd380c8be36361829721a3bf053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/** BEGIN COPYRIGHT BLOCK
 * Copyright 2001 Sun Microsystems, Inc.
 * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/
/***********************************************************************
**
**
** NAME
**  configure_instance.h
**
** DESCRIPTION
**
**
** AUTHOR
**  Rich Megginson <richm@netscape.com>
**
***********************************************************************/

#ifndef _CONFIGURE_INSTANCE_H_
#define _CONFIGURE_INSTANCE_H_

#include "create_instance.h"

#ifdef __cplusplus
extern "C" {
#endif

int
create_config_from_inf(
	server_config_s *cf,
	int argc,
	char *argv[]
);

int
configure_instance_with_config(
	server_config_s *cf,
	int verbose, /* if false, silent; if true, verbose */
	const char *lfile /* log file */
);

int
configure_instance();

int
reconfigure_instance(int argc, char *argv[]);

#ifdef __cplusplus
}
#endif

#endif /* _CONFIGURE_INSTANCE_H_ */