mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.3 KiB
37 lines
1.3 KiB
/*
|
|
** args.h - Globals and prototypes for args.c.
|
|
**
|
|
** Author: DavidDi
|
|
*/
|
|
|
|
|
|
// Globals
|
|
///////////
|
|
|
|
extern BOOL bDoRename, // flag for performing compressed file renaming
|
|
bDisplayHelp, // flag for displaying help information
|
|
bTargetIsDir, // flag telling whether or not files are being
|
|
// compressed to a directory
|
|
bUpdateOnly, // flag for conditional compression based on
|
|
// existing target file's date/time stamp relative
|
|
// to source file.
|
|
bNoLogo; // flag to suppress printing copyright info.
|
|
|
|
extern INT nNumFileSpecs, // number of non-switch command-line arguments
|
|
iTarget; // argv[] index of target directory argument
|
|
|
|
extern BOOL bDoListFiles; // flag for displaying list of files from a CAB
|
|
// (instead of actually expanding them)
|
|
extern CHAR ARG_PTR *pszSelectiveFilesSpec; // name of file(s) to expand from a CAB
|
|
|
|
#ifdef COMPRESS
|
|
extern BYTE byteAlgorithm; // compression / expansion algorithm to use
|
|
#endif
|
|
|
|
|
|
// Prototypes
|
|
//////////////
|
|
|
|
extern BOOL ParseArguments(INT argc, CHAR ARG_PTR *argv[]);
|
|
extern BOOL CheckArguments(VOID);
|
|
extern INT GetNextFileArg(CHAR ARG_PTR *argv[]);
|