00001 #ifndef __MYTH_EXIT_CODES__
00002 #define __MYTH_EXIT_CODES__
00003
00004
00005
00006
00007
00008
00009
00010 #define GENERIC_EXIT_OK 0 ///< Exited with no error
00011 #define GENERIC_EXIT_NOT_OK 128 ///< Exited with error
00012 #define GENERIC_EXIT_CMD_NOT_FOUND 129 ///< Command not found
00013 #define GENERIC_EXIT_NO_MYTHCONTEXT 130 ///< No MythContext available
00014 #define GENERIC_EXIT_NO_THEME 131 ///< No Theme available
00015 #define GENERIC_EXIT_INVALID_CMDLINE 132 ///< Command line parse error
00016 #define GENERIC_EXIT_DB_OUTOFDATE 133 ///< Database needs upgrade
00017 #define GENERIC_EXIT_DB_ERROR 134 ///< Database error
00018 #define GENERIC_EXIT_SOCKET_ERROR 135 ///< Socket error
00019 #define GENERIC_EXIT_PERMISSIONS_ERROR 136 ///< File permissions error
00020 #define GENERIC_EXIT_CONNECT_ERROR 137 ///< Can't connect to master backend
00021 #define GENERIC_EXIT_SETUP_ERROR 138 ///< Incorrectly setup system
00022 #define GENERIC_EXIT_INVALID_TIMEZONE 139 ///< Invalid timezone
00023 #define GENERIC_EXIT_KILLED 140 ///< Process killed or stopped
00024 #define GENERIC_EXIT_TIMEOUT 141 ///< Process timed out
00025 #define GENERIC_EXIT_RUNNING 142 ///< Process is running
00026 #define GENERIC_EXIT_PIPE_FAILURE 143 ///< Error creating I/O pipes
00027 #define GENERIC_EXIT_NO_HANDLER 144 ///< No MythSystem Handler
00028 #define GENERIC_EXIT_DAEMONIZING_ERROR 145 ///< Error daemonizing or execl
00029 #define GENERIC_EXIT_NO_RECORDING_DATA 146 ///< No program/recording data
00030 #define GENERIC_EXIT_REMOTE_FILE 147 ///< Can't transcode a remote file
00031 #define GENERIC_EXIT_RESTART 148 ///< Need to restart transcoding
00032 #define GENERIC_EXIT_WRITE_FRAME_ERROR 149 ///< Frame write error
00033 #define GENERIC_EXIT_DEADLOCK 150 ///< Transcode deadlock detected
00034 #define GENERIC_EXIT_IN_USE 151 ///< Recording in use, can't flag
00035 #define GENERIC_EXIT_START 152 ///< MythSystem process starting
00036
00037 #endif // __MYTH_EXIT_CODES__