1 /*======================================================================*
2 * Copyright (C) 2008 Light Weight Event System *
3 * All rights reserved. *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
18 * Boston, MA 02110-1301 USA. *
19 *======================================================================*/
25 extern char* arg_basename
;
26 extern const char* arg_interface
;
27 /*TODO: extern int arg_interval;*/
28 extern const char* arg_ip
;
29 extern int arg_join_group
;
30 extern char** arg_journalls
;
31 extern char* arg_disk_journals
[10];
32 extern char* arg_journ_name
;
33 extern const char* arg_journ_type
;
34 extern char* arg_monitor_type
;
35 extern int arg_log_level
;
36 extern const char* arg_log_file
;
37 extern int arg_njournalls
;
38 extern int arg_nodaemonize
;
39 extern int arg_nopong
;
40 extern int arg_nreaders
;
41 extern const char* arg_pid_file
;
43 extern const char* arg_proc_type
;
44 extern int arg_queue_max_cnt
;
45 extern int arg_queue_max_sz
;
46 extern const char* arg_queue_name
;
47 extern const char* arg_queue_type
;
50 extern int arg_sockbuffer
;
52 extern int arg_journal_uid
;
53 extern int arg_version
;
54 extern const char* arg_xport
;
57 extern const char* arg_mondemand_host
;
58 extern const char* arg_mondemand_ip
;
59 extern int arg_mondemand_port
;
63 #define ARG_PROCESS "process"
64 #define ARG_THREAD "thread"
72 #define ARG_FILE "file"
77 void process_options(int argc
, const char* argv
[]);
79 #endif /* OPT_DOT_H */