Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
args.h
Go to the documentation of this file.
1
2//
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
13typedef struct {
15 char **arg_names;
16
18 unsigned int arg_count;
19
22 const char *files_name;
23
27
30
31} args_info;
32
33
34extern bool opt_stdout;
35extern bool opt_force;
36extern bool opt_keep_original;
37// extern bool opt_recursive;
38extern bool opt_robot;
39extern bool opt_ignore_check;
40
41extern const char stdin_filename[];
42
43extern void args_parse(args_info *args, int argc, char **argv);
44extern void args_free(void);
Definition args.h:13
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
const char * files_name
Definition args.h:22
char ** arg_names
Filenames from command line.
Definition args.h:15
FILE * files_file
Definition args.h:26
void args_parse(args_info *args, int argc, char **argv)
Definition args.c:637
void args_free(void)
Definition args.c:746
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