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.
 
 
 
 
 
 

38 lines
1.2 KiB

/*
** main.h - Constants and globals used in LZA file compression program.
**
** Author: DavidDi
*/
// Constants
/////////////
#define EXIT_SUCCESS 0 // main() return codes
#define EXIT_FAILURE 1
#define FAIL (-1)
#define chHELP_SWITCH '?' // help switch character
#define chRENAME_SWITCH 'R' // rename switch character
#define chUPDATE_SWITCH 'D' // update-only switch character
#define chLIST_SWITCH 'D' // CAB directory listing switch character
#define chNO_LOGO_SWITCH 'S' // suppress copyright print switch char
#define chSELECTIVE_SWITCH 'F' // CAB selective extract switch character
#ifdef COMPRESS
#define chALG_SWITCH 'Z' // use diamond
#define MSZIP_ALG (ALG_FIRST + 128)
#define QUANTUM_ALG (ALG_FIRST + 129)
#define LZX_ALG (ALG_FIRST + 130)
#endif
#define DEFAULT_ALG ALG_FIRST // compression algorithm to use if
// none is specified
// Globals
///////////
extern CHAR ARG_PTR *pszInFileName, // input file name
*pszOutFileName, // output file name
*pszTargetName; // target path name