1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2007 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
14 #ifndef __EXITCODE_H__
15 #define __EXITCODE_H__
17 /** Valid exit codes to be used with InspIRCd::Exit()
21 EXIT_STATUS_NOERROR = 0,
23 EXIT_STATUS_FAILED_EXEC = 2,
24 EXIT_STATUS_INTERNAL = 3,
25 EXIT_STATUS_CONFIG = 4,
31 EXIT_STATUS_SOCKETENGINE = 10,
32 EXIT_STATUS_ROOT = 11,
33 EXIT_STATUS_DIETAG = 12,
34 EXIT_STATUS_MODULE = 13,
35 EXIT_STATUS_SIGTERM = 15 /* Note: dont move this value. It corresponds with the value of #define SIGTERM. */
38 /** Array that maps exit codes (ExitStatus types) to
39 * human-readable strings to be shown on shutdown.
41 extern const char * ExitCodes[];