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

m_sqllog.cpp File Reference

#include "inspircd.h"
#include "m_sqlv2.h"

Include dependency graph for m_sqllog.cpp:

Go to the source code of this file.

Classes

class  QueryInfo
class  ModuleSQLLog

Enumerations

enum  LogTypes {
  LT_OPER = 1, LT_KILL, LT_SERVLINK, LT_XLINE,
  LT_CONNECT, LT_DISCONNECT, LT_FLOOD, LT_LOADMODULE
}
enum  QueryState { FIND_SOURCE, FIND_NICK, FIND_HOST, DONE }

Variables

static ModuleSQLModule
static ModuleMyMod
static std::string dbid
std::map< unsigned long, QueryInfo * > active_queries


Enumeration Type Documentation

enum LogTypes
 

Enumerator:
LT_OPER 
LT_KILL 
LT_SERVLINK 
LT_XLINE 
LT_CONNECT 
LT_DISCONNECT 
LT_FLOOD 
LT_LOADMODULE 

Definition at line 21 of file m_sqllog.cpp.

enum QueryState
 

Enumerator:
FIND_SOURCE 
FIND_NICK 
FIND_HOST 
DONE 

Definition at line 23 of file m_sqllog.cpp.


Variable Documentation

std::map<unsigned long,QueryInfo*> active_queries
 

Definition at line 25 of file m_sqllog.cpp.

Referenced by ModuleSQLLog::AddLogEntry(), QueryInfo::Go(), ModuleSQLLog::ModuleSQLLog(), and ModuleSQLLog::OnRequest().

std::string dbid [static]
 

Definition at line 19 of file m_sqllog.cpp.

Referenced by ModuleSQLLog::AddLogEntry(), QueryInfo::Go(), and ModuleSQLLog::ReadConfig().

Module* MyMod [static]
 

Definition at line 18 of file m_sqllog.cpp.

Module* SQLModule [static]
 

Definition at line 17 of file m_sqllog.cpp.