Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

inspircd_io.h File Reference

#include <sstream>
#include <string>
#include <vector>
#include "inspircd.h"
#include "globals.h"

Include dependency graph for inspircd_io.h:

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

Go to the source code of this file.

Classes

class  ServerConfig
 This class holds the bulk of the runtime configuration for the ircd. More...

Defines

#define DEBUG   10
 Flags for use with log().
#define VERBOSE   20
#define DEFAULT   30
#define SPARSE   40
#define NONE   50

Functions

void Exit (int)
void Start (void)
int DaemonSeed (void)
bool FileExists (const char *file)
int OpenTCPSocket (void)
int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char *addr)
void WritePID (std::string filename)
int BindPorts ()


Define Documentation

#define DEBUG   10
 

Flags for use with log().

Definition at line 28 of file inspircd_io.h.

Referenced by add_channel(), Server::AddExtendedMode(), SocketEngine::AddFd(), chanrec::AddUser(), del_channel(), SocketEngine::DelFd(), chanrec::DelUser(), ForceChan(), InspSocket::InspSocket(), kick_channel(), InspSocket::Read(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), SocketEngine::SocketEngine(), and SocketEngine::~SocketEngine().

#define DEFAULT   30
 

Definition at line 30 of file inspircd_io.h.

Referenced by add_channel(), del_channel(), and kick_channel().

#define NONE   50
 

Definition at line 32 of file inspircd_io.h.

#define SPARSE   40
 

Definition at line 31 of file inspircd_io.h.

#define VERBOSE   20
 

Definition at line 29 of file inspircd_io.h.


Function Documentation

int BindPorts  ) 
 

int BindSocket int  sockfd,
struct sockaddr_in  client,
struct sockaddr_in  server,
int  port,
char *  addr
 

Referenced by InspSocket::InspSocket().

int DaemonSeed void   ) 
 

void Exit int   ) 
 

bool FileExists const char *  file  ) 
 

int OpenTCPSocket void   ) 
 

Referenced by InspSocket::InspSocket().

void Start void   ) 
 

void WritePID std::string  filename  ) 
 


Generated on Thu Dec 15 11:14:16 2005 for InspIRCd by  doxygen 1.4.4-20050815