ReactOS  0.4.15-dev-1070-ge1a01de
options.h
Go to the documentation of this file.
1 /*
2  * ReactOS log2lines
3  * Written by Jan Roeloffzen
4  *
5  * - Option parsing
6  */
7 
8 #pragma once
9 
10 extern char *optchars;
11 extern int opt_buffered; // -b
12 extern int opt_help; // -h
13 extern int opt_force; // -f
14 extern int opt_exit; // -e
15 extern int opt_verbose; // -v
16 extern int opt_console; // -c
17 extern int opt_mark; // -m
18 extern int opt_Mark; // -M
19 extern char *opt_Pipe; // -P
20 extern int opt_quit; // -q (cli only)
21 extern int opt_cli; // (cli internal)
22 extern int opt_raw; // -r
23 extern int opt_stats; // -s
24 extern int opt_Source; // -S <opt_Source>[+<opt_SrcPlus>][,<sources_path>]
25 extern int opt_SrcPlus; // -S <opt_Source>[+<opt_SrcPlus>][,<sources_path>]
26 extern int opt_twice; // -t
27 extern int opt_Twice ; // -T
28 extern int opt_undo ; // -u
29 extern int opt_redo ; // -U
30 extern char opt_dir[]; // -d <opt_dir>
31 extern char opt_logFile[]; // -l <opt_logFile>
32 extern char *opt_mod; // mod for opt_logFile
33 extern char opt_7z[]; // -z <opt_7z>
34 extern char opt_scanned[]; // all scanned options
35 
36 extern char opt_SourcesPath[]; //sources path
37 
38 int optionInit(int argc, const char **argv);
39 int optionParse(int argc, const char **argv);
40 
41 /* EOF */
int opt_exit
Definition: options.c:24
static int argc
Definition: ServiceArgs.c:12
char * optchars
Definition: options.c:20
int opt_raw
Definition: options.c:32
int optionInit(int argc, const char **argv)
Definition: options.c:50
int opt_cli
Definition: options.c:31
int opt_quit
Definition: options.c:30
int opt_Mark
Definition: options.c:28
int opt_SrcPlus
Definition: options.c:35
#define argv
Definition: mplay32.c:18
int opt_Source
Definition: options.c:34
int opt_console
Definition: options.c:26
char * opt_mod
Definition: options.c:42
char opt_logFile[]
Definition: options.c:41
char * opt_Pipe
Definition: options.c:29
int opt_redo
Definition: options.c:39
char opt_SourcesPath[]
Definition: options.c:45
char opt_7z[]
Definition: options.c:43
int opt_stats
Definition: options.c:33
int opt_buffered
Definition: options.c:21
int opt_Twice
Definition: options.c:37
int opt_twice
Definition: options.c:36
int opt_mark
Definition: options.c:27
char opt_scanned[]
Definition: options.c:44
char opt_dir[]
Definition: options.c:40
int opt_verbose
Definition: options.c:25
int opt_help
Definition: options.c:22
int opt_undo
Definition: options.c:38
int optionParse(int argc, const char **argv)
Definition: options.c:112
int opt_force
Definition: options.c:23