The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

exitcodes.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ExitStatus {
  EXIT_STATUS_NOERROR = 0, EXIT_STATUS_DIE = 1, EXIT_STATUS_FAILED_EXEC = 2, EXIT_STATUS_INTERNAL = 3,
  EXIT_STATUS_CONFIG = 4, EXIT_STATUS_LOG = 5, EXIT_STATUS_FORK = 6, EXIT_STATUS_ARGV = 7,
  EXIT_STATUS_BIND = 8, EXIT_STATUS_PID = 9, EXIT_STATUS_SOCKETENGINE = 10, EXIT_STATUS_ROOT = 11,
  EXIT_STATUS_DIETAG = 12, EXIT_STATUS_MODULE = 13, EXIT_STATUS_CREATEPROCESS = 14, EXIT_STATUS_SIGTERM = 15,
  EXIT_STATUS_BADHANDLER = 16, EXIT_STATUS_RSCH_FAILED = 17, EXIT_STATUS_UPDATESCM_FAILED = 18, EXIT_STATUS_CREATE_EVENT_FAILED = 19
}
 Valid exit codes to be used with InspIRCd::Exit(). More...

Variables

const char * ExitCodes []
 Array that maps exit codes (ExitStatus types) to human-readable strings to be shown on shutdown.


Enumeration Type Documentation

enum ExitStatus
 

Valid exit codes to be used with InspIRCd::Exit().

Enumerator:
EXIT_STATUS_NOERROR 
EXIT_STATUS_DIE 
EXIT_STATUS_FAILED_EXEC 
EXIT_STATUS_INTERNAL 
EXIT_STATUS_CONFIG 
EXIT_STATUS_LOG 
EXIT_STATUS_FORK 
EXIT_STATUS_ARGV 
EXIT_STATUS_BIND 
EXIT_STATUS_PID 
EXIT_STATUS_SOCKETENGINE 
EXIT_STATUS_ROOT 
EXIT_STATUS_DIETAG 
EXIT_STATUS_MODULE 
EXIT_STATUS_CREATEPROCESS 
EXIT_STATUS_SIGTERM 
EXIT_STATUS_BADHANDLER 
EXIT_STATUS_RSCH_FAILED 
EXIT_STATUS_UPDATESCM_FAILED 
EXIT_STATUS_CREATE_EVENT_FAILED 

Definition at line 19 of file exitcodes.h.


Variable Documentation

const char* ExitCodes[]
 

Array that maps exit codes (ExitStatus types) to human-readable strings to be shown on shutdown.

Definition at line 58 of file inspircd.cpp.

Referenced by InspIRCd::Exit().