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

globals.h File Reference

#include <typeinfo>
#include <iostream>
#include <string>
#include <deque>
#include "users.h"
#include "channels.h"

Include dependency graph for globals.h:

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

Go to the source code of this file.

Typedefs

typedef std::deque< std::stringfile_cache

Functions

void WriteOpers (char *text,...)
void log (int level, char *text,...)
void Write (int sock, char *text,...)
void WriteServ (int sock, char *text,...)
void WriteFrom (int sock, userrec *user, char *text,...)
void WriteTo (userrec *source, userrec *dest, char *data,...)
void WriteChannel (chanrec *Ptr, userrec *user, char *text,...)
void ChanExceptSender (chanrec *Ptr, userrec *user, char *text,...)
int common_channels (userrec *u, userrec *u2)
void WriteCommon (userrec *u, char *text,...)
void WriteCommonExcept (userrec *u, char *text,...)
void WriteWallOps (userrec *source, bool local_only, char *text,...)
int isnick (const char *n)
userrecFind (std::string nick)
chanrecFindChan (const char *chan)
char * cmode (userrec *user, chanrec *chan)
std::string getservername ()
std::string getnetworkname ()
std::string getadminname ()
std::string getadminemail ()
std::string getadminnick ()
void readfile (file_cache &F, const char *fname)
int ModeDefiend (char c, int i)


Typedef Documentation

typedef std::deque<std::string> file_cache
 

Definition at line 29 of file globals.h.


Function Documentation

void ChanExceptSender chanrec Ptr,
userrec user,
char *  text,
  ...
 

Referenced by Server::SendChannel().

char* cmode userrec user,
chanrec chan
 

Referenced by Server::ChanMode().

int common_channels userrec u,
userrec u2
 

Referenced by Server::CommonChannels().

userrec* Find std::string  nick  ) 
 

Referenced by Server::FindNick().

chanrec* FindChan const char *  chan  ) 
 

Referenced by add_channel(), del_channel(), and Server::FindChannel().

std::string getadminemail  ) 
 

std::string getadminname  ) 
 

std::string getadminnick  ) 
 

std::string getnetworkname  ) 
 

std::string getservername  ) 
 

int isnick const char *  n  ) 
 

Referenced by Server::IsNick().

void log int  level,
char *  text,
  ...
 

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

int ModeDefiend char  c,
int  i
 

void readfile file_cache F,
const char *  fname
 

Referenced by FileReader::FileReader(), and FileReader::LoadFile().

void Write int  sock,
char *  text,
  ...
 

Referenced by Server::PseudoToUser(), Server::Send(), Server::SendTo(), and Server::UserToPseudo().

void WriteChannel chanrec Ptr,
userrec user,
char *  text,
  ...
 

Referenced by del_channel(), ForceChan(), kick_channel(), and Server::SendChannel().

void WriteCommon userrec u,
char *  text,
  ...
 

Referenced by Server::SendCommon().

void WriteCommonExcept userrec u,
char *  text,
  ...
 

Referenced by Server::SendCommon().

void WriteFrom int  sock,
userrec user,
char *  text,
  ...
 

Referenced by Server::PseudoToUser(), and Server::SendFrom().

void WriteOpers char *  text,
  ...
 

Referenced by userrec::AddBuffer(), userrec::AddWriteBuf(), ConfigReader::DumpErrors(), Server::RehashServer(), and Server::SendOpers().

void WriteServ int  sock,
char *  text,
  ...
 

Referenced by add_channel(), ConfigReader::DumpErrors(), ForceChan(), kick_channel(), Server::PseudoToUser(), and Server::SendServ().

void WriteTo userrec source,
userrec dest,
char *  data,
  ...
 

Referenced by Server::SendTo().

void WriteWallOps userrec source,
bool  local_only,
char *  text,
  ...
 

Referenced by Server::SendWallops().


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