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_hurryup_at
;
30 extern int arg_hurrydown_at
;
31 extern int arg_join_group
;
32 extern char** arg_journalls
;
33 extern char* arg_disk_journals
[10];
34 extern char* arg_journ_name
;
35 extern const char* arg_journ_type
;
36 extern char* arg_monitor_type
;
37 extern int arg_log_level
;
38 extern int arg_njournalls
;
39 extern int arg_nodaemonize
;
40 extern int arg_nopong
;
41 extern int arg_nreaders
;
42 extern const char* arg_pid_file
;
44 extern const char* arg_proc_type
;
45 extern int arg_queue_max_cnt
;
46 extern int arg_queue_max_sz
;
47 extern const char* arg_queue_name
;
48 extern const char* arg_queue_type
;
49 extern int arg_rotate_mask
;
51 extern char* arg_sink_ram
;
53 extern int arg_sockbuffer
;
55 extern int arg_version
;
56 extern const char* arg_xport
;
59 #define ARG_PROCESS "process"
60 #define ARG_THREAD "thread"
68 #define ARG_FILE "file"
73 void process_options(int argc
, const char* argv
[]);
75 #endif /* OPT_DOT_H */