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

QueryInfo Class Reference

Collaboration diagram for QueryInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QueryInfo (InspIRCd *Instance, const std::string &n, const std::string &s, const std::string &h, unsigned long i, int cat)
void Go (SQLresult *res)

Public Attributes

QueryState qs
unsigned long id
std::string nick
std::string source
std::string hostname
int sourceid
int nickid
int hostid
int category
time_t date
bool insert

Private Attributes

InspIRCdServerInstance

Detailed Description

Definition at line 29 of file m_sqllog.cpp.


Constructor & Destructor Documentation

QueryInfo::QueryInfo InspIRCd Instance,
const std::string n,
const std::string s,
const std::string h,
unsigned long  i,
int  cat
[inline]
 

Definition at line 46 of file m_sqllog.cpp.

References category, date, FIND_SOURCE, hostid, hostname, insert, nick, nickid, qs, ServerInstance, source, sourceid, and InspIRCd::Time().


Member Function Documentation

void QueryInfo::Go SQLresult res  )  [inline]
 

Definition at line 60 of file m_sqllog.cpp.

References active_queries, category, SQLfield::d, date, dbid, DONE, FIND_HOST, FIND_NICK, FIND_SOURCE, SQLresult::GetValue(), hostid, hostname, SQLrequest::id, insert, nick, nickid, qs, SQLresult::Rows(), Request::Send(), source, and sourceid.


Member Data Documentation

int QueryInfo::category
 

Definition at line 42 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

time_t QueryInfo::date
 

Definition at line 43 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

int QueryInfo::hostid
 

Definition at line 41 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

std::string QueryInfo::hostname
 

Definition at line 38 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

unsigned long QueryInfo::id
 

Definition at line 35 of file m_sqllog.cpp.

bool QueryInfo::insert
 

Definition at line 44 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

std::string QueryInfo::nick
 

Definition at line 36 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

int QueryInfo::nickid
 

Definition at line 40 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

QueryState QueryInfo::qs
 

Definition at line 34 of file m_sqllog.cpp.

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

InspIRCd* QueryInfo::ServerInstance [private]
 

Definition at line 32 of file m_sqllog.cpp.

Referenced by QueryInfo().

std::string QueryInfo::source
 

Definition at line 37 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().

int QueryInfo::sourceid
 

Definition at line 39 of file m_sqllog.cpp.

Referenced by Go(), and QueryInfo().


The documentation for this class was generated from the following file: