Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
main.h
Package: win2ksrc.rar [view]
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 1k
Category:
Windows Develop
Development Platform:
Visual C++
- /*
- ** 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 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