1 /* -*- c-file-style: "java"; indent-tabs-mode: nil; tab-width: 4; fill-column: 78 -*-
2  *
3  * distcc -- A simple distributed compiler system
4  *
5  * Copyright (C) 2002, 2003 by Martin Pool <mbp@samba.org>
6  * Copyright 2007 Google Inc.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
21  * USA.
22  */
23 
24 
25 /* dopt.c */
26 extern struct dcc_allow_list *opt_allowed;
27 extern int opt_allow_private;
28 int distccd_parse_options(int argc, const char *argv[]);
29 
30 extern int arg_port;
31 extern int arg_stats;
32 extern int arg_stats_port;
33 extern int opt_log_level_num;
34 extern int arg_max_jobs;
35 extern const char *arg_pid_file;
36 extern int opt_no_fork;
37 extern int opt_no_prefork;
38 extern int opt_no_detach;
39 extern int opt_daemon_mode, opt_inetd_mode;
40 extern int opt_enable_tcp_insecure;
41 extern int opt_job_lifetime;
42 extern const char *arg_log_file;
43 extern int opt_no_fifo;
44 extern int opt_log_stderr;
45 extern int opt_lifetime;
46 extern char *opt_listen_addr;
47 extern int opt_niceness;
48 
49 #ifdef HAVE_AVAHI
50 extern int opt_zeroconf;
51 #endif
52 
53 #ifdef HAVE_GSSAPI
54 extern int dcc_auth_enabled;
55 #endif
56 
57 #ifdef HAVE_GSSAPI
58 extern int dcc_auth_enabled;
59 extern int opt_blacklist_enabled;
60 extern int opt_whitelist_enabled;
61 extern const char *arg_list_file;
62 #endif
63