summaryrefslogtreecommitdiff
path: root/Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-26 18:13:06 +0000
committerKarl Berry <karl@freefriends.org>2010-05-26 18:13:06 +0000
commit3d8da5c85f9bb90eb80ac3fa22edf45b448140fb (patch)
treeea7e7459cb562b1bec12164edbcf295647c0202b /Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h
parent102ace285218431079cbea4914f3faaad0c7383e (diff)
new xz release
git-svn-id: svn://tug.org/texlive/trunk@18518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h')
-rw-r--r--Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h b/Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h
new file mode 100644
index 00000000000..ac5959b52ba
--- /dev/null
+++ b/Build/source/extra/xz-4.999.9beta-124-gb637/src/xz/args.h
@@ -0,0 +1,42 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \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);