APKinspector / androguard / classification / libsimilarity / sources / xz-5.0.2 / src / xz / args.h

The default branch has multiple heads

/// \file       args.h
/// \brief      Argument parsing
//  Author:     Lasse Collin
//  This file has been put into the public domain.
//  You can do whatever you want with this file.

typedef struct {
	/// Filenames from command line
	char **arg_names;

	/// Number of filenames from command line
	size_t arg_count;

	/// Name of the file from which to read filenames. This is NULL
	/// if --files or --files0 was not used.
	char *files_name;

	/// File opened for reading from which filenames are read. This is
	/// non-NULL only if files_name is non-NULL.
	FILE *files_file;

	/// Delimiter for filenames read from files_file
	char files_delim;

} args_info;

extern bool opt_stdout;
extern bool opt_force;
extern bool opt_keep_original;
// extern bool opt_recursive;
extern bool opt_robot;

extern const char stdin_filename[];

extern void args_parse(args_info *args, int argc, char **argv);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.