Source code of Windows XP (NT5)
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

  1. /*
  2. ** args.h - Globals and prototypes for args.c.
  3. **
  4. ** Author: DavidDi
  5. */
  6. // Globals
  7. ///////////
  8. extern BOOL bDoRename, // flag for performing compressed file renaming
  9. bDisplayHelp, // flag for displaying help information
  10. bTargetIsDir, // flag telling whether or not files are being
  11. // compressed to a directory
  12. bUpdateOnly, // flag for conditional compression based on
  13. // existing target file's date/time stamp relative
  14. // to source file.
  15. bNoLogo; // flag to suppress printing copyright info.
  16. extern INT nNumFileSpecs, // number of non-switch command-line arguments
  17. iTarget; // argv[] index of target directory argument
  18. extern BOOL bDoListFiles; // flag for displaying list of files from a CAB
  19. // (instead of actually expanding them)
  20. extern CHAR ARG_PTR *pszSelectiveFilesSpec; // name of file(s) to expand from a CAB
  21. #ifdef COMPRESS
  22. extern BYTE byteAlgorithm; // compression / expansion algorithm to use
  23. #endif
  24. // Prototypes
  25. //////////////
  26. extern BOOL ParseArguments(INT argc, CHAR ARG_PTR *argv[]);
  27. extern BOOL CheckArguments(VOID);
  28. extern INT GetNextFileArg(CHAR ARG_PTR *argv[]);