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

inspircd.cpp File Reference

#include "inspircd.h"
#include <signal.h>
#include <dirent.h>
#include <unistd.h>
#include <sys/resource.h>
#include <dlfcn.h>
#include <getopt.h>
#include <fstream>
#include "xline.h"
#include "bancache.h"
#include "socketengine.h"
#include "inspircd_se_config.h"
#include "socket.h"
#include "command_parse.h"
#include "exitcodes.h"
#include "caller.h"
#include "testsuite.h"

Include dependency graph for inspircd.cpp:

Go to the source code of this file.

Defines

#define RUSAGE_SELF   0

Variables

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


Define Documentation

#define RUSAGE_SELF   0
 

Definition at line 29 of file inspircd.cpp.

Referenced by InspIRCd::Run().


Variable Documentation

const char* ExitCodes[]
 

Initial value:

{
                "No error", 
                "DIE command", 
                "execv() failed", 
                "Internal error", 
                "Config file error", 
                "Logfile error", 
                "POSIX fork failed", 
                "Bad commandline parameters", 
                "No ports could be bound", 
                "Can't write PID file", 
                "SocketEngine could not initialize", 
                "Refusing to start up as root", 
                "Found a <die> tag!", 
                "Couldn't load module on startup", 
                "Could not create windows forked process", 
                "Received SIGTERM", 
                "Bad command handler loaded", 
                "RegisterServiceCtrlHandler failed", 
                "UpdateSCMStatus failed", 
                "CreateEvent failed" 
}
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().

int* mysig = NULL
 

Definition at line 52 of file inspircd.cpp.

Referenced by InspIRCd::SetSignal().

InspIRCd* SI = NULL
 

Definition at line 51 of file inspircd.cpp.