Rizin
unix-like reverse engineering framework and cli tools
args.h
Go to the documentation of this file.
1 //
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
10 //
12 
13 typedef struct {
15  char **arg_names;
16 
18  unsigned int arg_count;
19 
22  char *files_name;
23 
27 
30 
31 } args_info;
32 
33 
34 extern bool opt_stdout;
35 extern bool opt_force;
36 extern bool opt_keep_original;
37 // extern bool opt_recursive;
38 extern bool opt_robot;
39 extern bool opt_ignore_check;
40 
41 extern const char stdin_filename[];
42 
43 extern void args_parse(args_info *args, int argc, char **argv);
44 extern void args_free(void);
void args_parse(args_info *args, int argc, char **argv)
Definition: args.c:592
void args_free(void)
Definition: args.c:695
bool opt_robot
Definition: args.c:24
bool opt_keep_original
Definition: args.c:23
const char stdin_filename[]
Definition: args.c:29
bool opt_stdout
Definition: args.c:21
bool opt_force
Definition: args.c:22
bool opt_ignore_check
Definition: args.c:25
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40
int args
Definition: mipsasm.c:18
string FILE
Definition: benchmark.py:21
Definition: args.h:13
FILE * files_file
Definition: args.h:26
char * files_name
Definition: args.h:22
char ** arg_names
Filenames from command line.
Definition: args.h:15
char files_delim
Delimiter for filenames read from files_file.
Definition: args.h:29
unsigned int arg_count
Number of filenames from command line.
Definition: args.h:18