1370b324cSopenharmony_ci// ExitCode.h
2370b324cSopenharmony_ci
3370b324cSopenharmony_ci#ifndef ZIP7_INC_EXIT_CODE_H
4370b324cSopenharmony_ci#define ZIP7_INC_EXIT_CODE_H
5370b324cSopenharmony_ci
6370b324cSopenharmony_cinamespace NExitCode {
7370b324cSopenharmony_ci
8370b324cSopenharmony_cienum EEnum {
9370b324cSopenharmony_ci
10370b324cSopenharmony_ci  kSuccess       = 0,     // Successful operation
11370b324cSopenharmony_ci  kWarning       = 1,     // Non fatal error(s) occurred
12370b324cSopenharmony_ci  kFatalError    = 2,     // A fatal error occurred
13370b324cSopenharmony_ci  // kCRCError      = 3,     // A CRC error occurred when unpacking
14370b324cSopenharmony_ci  // kLockedArchive = 4,     // Attempt to modify an archive previously locked
15370b324cSopenharmony_ci  // kWriteError    = 5,     // Write to disk error
16370b324cSopenharmony_ci  // kOpenError     = 6,     // Open file error
17370b324cSopenharmony_ci  kUserError     = 7,     // Command line option error
18370b324cSopenharmony_ci  kMemoryError   = 8,     // Not enough memory for operation
19370b324cSopenharmony_ci  // kCreateFileError = 9,     // Create file error
20370b324cSopenharmony_ci
21370b324cSopenharmony_ci  kUserBreak     = 255   // User stopped the process
22370b324cSopenharmony_ci
23370b324cSopenharmony_ci};
24370b324cSopenharmony_ci
25370b324cSopenharmony_ci}
26370b324cSopenharmony_ci
27370b324cSopenharmony_ci#endif
28