The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats
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 "users.h"
#include "channels.h"
#include "modules.h"
#include "configreader.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 }

Functions

 MODULE_INIT (ModuleSQLLog)

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 25 of file m_sqllog.cpp.

enum QueryState
 

Enumerator:
FIND_SOURCE 
FIND_NICK 
FIND_HOST 
DONE 

Definition at line 27 of file m_sqllog.cpp.


Function Documentation

MODULE_INIT ModuleSQLLog   ) 
 


Variable Documentation

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

Definition at line 29 of file m_sqllog.cpp.

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

std::string dbid [static]
 

Definition at line 23 of file m_sqllog.cpp.

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

Module* MyMod [static]
 

Definition at line 22 of file m_sqllog.cpp.

Module* SQLModule [static]
 

Definition at line 21 of file m_sqllog.cpp.