KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
KviIrcServerParser Class Reference

#include <KviIrcServerParser.h>

+ Inheritance diagram for KviIrcServerParser:

Public Member Functions

 KviIrcServerParser ()
 
void parseMessage (const char *message, KviIrcConnection *pConnection)
 
 ~KviIrcServerParser ()
 

Static Public Member Functions

static const char * decodeCtcpEscape (const char *msg_ptr, KviCString &buffer)
 
static const char * decodeCtcpEscape (const char *msg_ptr, QByteArray &buffer)
 
static void encodeCtcpParameter (const char *param, KviCString &buffer, bool bSpaceBreaks=true)
 
static void encodeCtcpParameter (const char *param, QString &buffer, bool bSpaceBreaks=true)
 
static const char * extractCtcpParameter (const char *msg_ptr, KviCString &buffer, bool bSpaceBreaks=true, bool bSafeOnly=false)
 
static const char * extractCtcpParameter (const char *msg_ptr, QString &buffer, bool bSpaceBreaks=true, bool bSafeOnly=false)
 

Private Member Functions

bool checkCtcpFlood (KviCtcpMessage *msg)
 
void echoCtcpReply (KviCtcpMessage *msg)
 
void echoCtcpRequest (KviCtcpMessage *msg)
 
void otherChannelError (KviIrcMessage *msg)
 
void parseChannelHelp (KviIrcMessage *msg)
 
void parseChannelMode (const QString &szNick, const QString &szUser, const QString &szHost, KviChannelWindow *chan, KviCString &modefl, KviIrcMessage *msg, int curParam)
 
void parseCommandEndOfHelp (KviIrcMessage *msg)
 
void parseCommandHelp (KviIrcMessage *msg)
 
void parseCommandSyntaxHelp (KviIrcMessage *msg)
 
void parseCtcpReply (KviCtcpMessage *msg)
 
void parseCtcpReplyAvatar (KviCtcpMessage *msg)
 
void parseCtcpReplyGeneric (KviCtcpMessage *msg)
 
void parseCtcpReplyLagcheck (KviCtcpMessage *msg)
 
void parseCtcpReplyPing (KviCtcpMessage *msg)
 
void parseCtcpReplyUserinfo (KviCtcpMessage *msg)
 
void parseCtcpRequest (KviCtcpMessage *msg)
 
void parseCtcpRequestAction (KviCtcpMessage *msg)
 
void parseCtcpRequestAvatar (KviCtcpMessage *msg)
 
void parseCtcpRequestClientinfo (KviCtcpMessage *msg)
 
void parseCtcpRequestDcc (KviCtcpMessage *msg)
 
void parseCtcpRequestFinger (KviCtcpMessage *msg)
 
void parseCtcpRequestPage (KviCtcpMessage *msg)
 
void parseCtcpRequestPing (KviCtcpMessage *msg)
 
void parseCtcpRequestSource (KviCtcpMessage *msg)
 
void parseCtcpRequestTime (KviCtcpMessage *msg)
 
void parseCtcpRequestUserinfo (KviCtcpMessage *msg)
 
void parseCtcpRequestVersion (KviCtcpMessage *msg)
 
void parseLiteralAccount (KviIrcMessage *msg)
 
void parseLiteralAuthenticate (KviIrcMessage *msg)
 
void parseLiteralAway (KviIrcMessage *msg)
 
void parseLiteralCap (KviIrcMessage *msg)
 
void parseLiteralChghost (KviIrcMessage *msg)
 
void parseLiteralError (KviIrcMessage *msg)
 
void parseLiteralInvite (KviIrcMessage *msg)
 
void parseLiteralJoin (KviIrcMessage *msg)
 
void parseLiteralKick (KviIrcMessage *msg)
 
void parseLiteralMode (KviIrcMessage *msg)
 
void parseLiteralNick (KviIrcMessage *msg)
 
void parseLiteralNotice (KviIrcMessage *msg)
 
void parseLiteralPart (KviIrcMessage *msg)
 
void parseLiteralPing (KviIrcMessage *msg)
 
void parseLiteralPong (KviIrcMessage *msg)
 
void parseLiteralPrivmsg (KviIrcMessage *msg)
 
void parseLiteralQuit (KviIrcMessage *msg)
 
void parseLiteralTopic (KviIrcMessage *msg)
 
void parseLiteralWallops (KviIrcMessage *msg)
 
void parseLoginNicknameProblem (KviIrcMessage *msg)
 
void parseNumeric001 (KviIrcMessage *msg)
 
void parseNumeric002 (KviIrcMessage *msg)
 
void parseNumeric003 (KviIrcMessage *msg)
 
void parseNumeric004 (KviIrcMessage *msg)
 
void parseNumeric005 (KviIrcMessage *msg)
 
void parseNumeric020 (KviIrcMessage *msg)
 
void parseNumeric344 (KviIrcMessage *msg)
 
void parseNumeric345 (KviIrcMessage *msg)
 
void parseNumeric367 (KviIrcMessage *msg)
 
void parseNumeric368 (KviIrcMessage *msg)
 
void parseNumeric480 (KviIrcMessage *msg)
 
void parseNumeric486 (KviIrcMessage *msg)
 
void parseNumeric728 (KviIrcMessage *msg)
 
void parseNumeric729 (KviIrcMessage *msg)
 
void parseNumeric742 (KviIrcMessage *msg)
 
void parseNumericAList (KviIrcMessage *msg)
 
void parseNumericAlreadyRegistered (KviIrcMessage *msg)
 
void parseNumericAway (KviIrcMessage *)
 
void parseNumericBackFromAway (KviIrcMessage *)
 
void parseNumericBanOnChan (KviIrcMessage *msg)
 
void parseNumericCannotSend (KviIrcMessage *msg)
 
void parseNumericCannotSendColor (KviIrcMessage *msg)
 
void parseNumericCantJoinChannel (KviIrcMessage *msg)
 
void parseNumericChanAccessList (KviIrcMessage *msg)
 
void parseNumericChannelModeIs (KviIrcMessage *msg)
 
void parseNumericChanUrl (KviIrcMessage *msg)
 
void parseNumericCodePageScheme (KviIrcMessage *msg)
 
void parseNumericCodePageSet (KviIrcMessage *msg)
 
void parseNumericCommandSyntax (KviIrcMessage *msg)
 
void parseNumericCreationTime (KviIrcMessage *msg)
 
void parseNumericEndOfAList (KviIrcMessage *msg)
 
void parseNumericEndOfChanAccessList (KviIrcMessage *msg)
 
void parseNumericEndOfExceptList (KviIrcMessage *msg)
 
void parseNumericEndOfExemptChanOpList (KviIrcMessage *msg)
 
void parseNumericEndOfInviteList (KviIrcMessage *msg)
 
void parseNumericEndOfLinks (KviIrcMessage *msg)
 
void parseNumericEndOfNames (KviIrcMessage *msg)
 
void parseNumericEndOfQList (KviIrcMessage *msg)
 
void parseNumericEndOfQuietList (KviIrcMessage *msg)
 
void parseNumericEndOfReopList (KviIrcMessage *msg)
 
void parseNumericEndOfSpamFilterList (KviIrcMessage *msg)
 
void parseNumericEndOfStats (KviIrcMessage *msg)
 
void parseNumericEndOfWho (KviIrcMessage *msg)
 
void parseNumericEndOfWhois (KviIrcMessage *msg)
 
void parseNumericEndOfWhowas (KviIrcMessage *msg)
 
void parseNumericExceptList (KviIrcMessage *msg)
 
void parseNumericExemptChanOpList (KviIrcMessage *msg)
 
void parseNumericForward (KviIrcMessage *msg)
 
void parseNumericHiddenHost (KviIrcMessage *msg)
 
void parseNumericInfo (KviIrcMessage *msg)
 
void parseNumericInfoEnd (KviIrcMessage *msg)
 
void parseNumericInfoStart (KviIrcMessage *msg)
 
void parseNumericInvited (KviIrcMessage *msg)
 
void parseNumericInviteList (KviIrcMessage *msg)
 
void parseNumericInviting (KviIrcMessage *msg)
 
void parseNumericIsOn (KviIrcMessage *msg)
 
void parseNumericLinks (KviIrcMessage *msg)
 
void parseNumericList (KviIrcMessage *msg)
 
void parseNumericListEnd (KviIrcMessage *msg)
 
void parseNumericListStart (KviIrcMessage *msg)
 
void parseNumericMotd (KviIrcMessage *msg)
 
void parseNumericMotdMissing (KviIrcMessage *msg)
 
void parseNumericNames (KviIrcMessage *msg)
 
void parseNumericNeedSSL (KviIrcMessage *msg)
 
void parseNumericNicknameProblem (KviIrcMessage *msg)
 
void parseNumericNoPrivs (KviIrcMessage *msg)
 
void parseNumericNoSuchChannel (KviIrcMessage *msg)
 
void parseNumericNoSuchNick (KviIrcMessage *msg)
 
void parseNumericNoSuchServer (KviIrcMessage *msg)
 
void parseNumericNotEnoughParams (KviIrcMessage *msg)
 
void parseNumericNotifyGeneric (KviIrcMessage *msg)
 
void parseNumericNoTopic (KviIrcMessage *msg)
 
void parseNumericNotRegistered (KviIrcMessage *msg)
 
void parseNumericOftcEndOfQuietList (KviIrcMessage *msg)
 
void parseNumericOftcQuietList (KviIrcMessage *msg)
 
void parseNumericPasswordIncorrect (KviIrcMessage *msg)
 
void parseNumericQList (KviIrcMessage *msg)
 
void parseNumericQuietList (KviIrcMessage *msg)
 
void parseNumericReopList (KviIrcMessage *msg)
 
void parseNumericSaslFail (KviIrcMessage *msg)
 
void parseNumericSaslLogin (KviIrcMessage *msg)
 
void parseNumericSaslSuccess (KviIrcMessage *msg)
 
void parseNumericServerAdminInfoAdminContact (KviIrcMessage *msg)
 
void parseNumericServerAdminInfoAdminName (KviIrcMessage *msg)
 
void parseNumericServerAdminInfoServerName (KviIrcMessage *msg)
 
void parseNumericServerAdminInfoTitle (KviIrcMessage *msg)
 
void parseNumericSnomask (KviIrcMessage *msg)
 
void parseNumericSpamFilterList (KviIrcMessage *msg)
 
void parseNumericStartTls (KviIrcMessage *msg)
 
void parseNumericStats (KviIrcMessage *msg)
 
void parseNumericTime (KviIrcMessage *msg)
 
void parseNumericTopic (KviIrcMessage *msg)
 
void parseNumericTopicWhoTime (KviIrcMessage *msg)
 
void parseNumericTryAgain (KviIrcMessage *msg)
 
void parseNumericUnavailResource (KviIrcMessage *msg)
 
void parseNumericUnknownCommand (KviIrcMessage *msg)
 
void parseNumericUserhost (KviIrcMessage *msg)
 
void parseNumericUserInChan (KviIrcMessage *msg)
 
void parseNumericUserMode (KviIrcMessage *msg)
 
void parseNumericUsersDontMatch (KviIrcMessage *msg)
 
void parseNumericWatch (KviIrcMessage *msg)
 
void parseNumericWhoisActually (KviIrcMessage *msg)
 
void parseNumericWhoisAuth (KviIrcMessage *msg)
 
void parseNumericWhoisAway (KviIrcMessage *)
 
void parseNumericWhoisChannels (KviIrcMessage *msg)
 
void parseNumericWhoisIdle (KviIrcMessage *msg)
 
void parseNumericWhoisOther (KviIrcMessage *msg)
 
void parseNumericWhoisRegistered (KviIrcMessage *msg)
 
void parseNumericWhoisServer (KviIrcMessage *msg)
 
void parseNumericWhoisUser (KviIrcMessage *msg)
 
void parseNumericWhoReply (KviIrcMessage *msg)
 
void parseNumericWhospcrpl (KviIrcMessage *msg)
 
void parseNumericWhowasUser (KviIrcMessage *msg)
 
void parseNumericYouHaveCallerID (KviIrcMessage *msg)
 
void parseNumericYoureOper (KviIrcMessage *msg)
 
void parseNumericYourUID (KviIrcMessage *msg)
 
void parseUserMode (KviIrcMessage *msg, const char *modeflptr)
 
void replyCtcp (KviCtcpMessage *msg, const QString &data)
 

Private Attributes

KviCString m_szLastParserError
 

Static Private Attributes

static KviCtcpMessageParseStruct m_ctcpParseProcTable []
 
static KviLiteralMessageParseStruct m_literalParseProcTable []
 
static messageParseProc m_numericParseProcTable [1000]
 

Constructor & Destructor Documentation

KviIrcServerParser::KviIrcServerParser ( )
KviIrcServerParser::~KviIrcServerParser ( )
default

Member Function Documentation

bool KviIrcServerParser::checkCtcpFlood ( KviCtcpMessage msg)
private
const char * KviIrcServerParser::decodeCtcpEscape ( const char *  msg_ptr,
KviCString buffer 
)
static

References KviCString::append(), and c.

Referenced by extractCtcpParameter().

const char * KviIrcServerParser::decodeCtcpEscape ( const char *  msg_ptr,
QByteArray &  buffer 
)
static

References c.

void KviIrcServerParser::echoCtcpReply ( KviCtcpMessage msg)
private
void KviIrcServerParser::echoCtcpRequest ( KviCtcpMessage msg)
private
void KviIrcServerParser::encodeCtcpParameter ( const char *  param,
KviCString buffer,
bool  bSpaceBreaks = true 
)
static
void KviIrcServerParser::encodeCtcpParameter ( const char *  param,
QString &  buffer,
bool  bSpaceBreaks = true 
)
static
const char * KviIrcServerParser::extractCtcpParameter ( const char *  msg_ptr,
KviCString buffer,
bool  bSpaceBreaks = true,
bool  bSafeOnly = false 
)
static
const char * KviIrcServerParser::extractCtcpParameter ( const char *  msg_ptr,
QString &  buffer,
bool  bSpaceBreaks = true,
bool  bSafeOnly = false 
)
static

References decodeCtcpEscape().

void KviIrcServerParser::otherChannelError ( KviIrcMessage msg)
private
void KviIrcServerParser::parseChannelHelp ( KviIrcMessage msg)
private
void KviIrcServerParser::parseChannelMode ( const QString &  szNick,
const QString &  szUser,
const QString &  szHost,
KviChannelWindow chan,
KviCString modefl,
KviIrcMessage msg,
int  curParam 
)
private

References __tr2qs, CHANNEL_MODE, CHANUSER_MODE, KviIrcMessage::connection(), KviIrcConnection::decodeText(), KviIrcMessage::haltOutput(), KviIrcConnectionUserInfo::hostName(), IS_ME, KviIrcConnectionServerInfo::isSupportedModeFlag(), KVI_OPTION_BOOL, KVI_OUT_BAN, KVI_OUT_BANEXCEPT, KVI_OUT_BANUNEXCEPT, KVI_OUT_CHANADMIN, KVI_OUT_CHANMODE, KVI_OUT_CHANOWNER, KVI_OUT_DECHANADMIN, KVI_OUT_DECHANOWNER, KVI_OUT_DEOP, KVI_OUT_DEVOICE, KVI_OUT_HALFDEOP, KVI_OUT_HALFOP, KVI_OUT_INVITEEXCEPT, KVI_OUT_INVITEUNEXCEPT, KVI_OUT_KEY, KVI_OUT_LIMIT, KVI_OUT_MEBAN, KVI_OUT_MEBANEXCEPT, KVI_OUT_MEBANUNEXCEPT, KVI_OUT_MECHANADMIN, KVI_OUT_MECHANOWNER, KVI_OUT_MEDECHANADMIN, KVI_OUT_MEDECHANOWNER, KVI_OUT_MEDEHALFOP, KVI_OUT_MEDEOP, KVI_OUT_MEDEUSEROP, KVI_OUT_MEDEVOICE, KVI_OUT_MEHALFOP, KVI_OUT_MEINVITEEXCEPT, KVI_OUT_MEINVITEUNEXCEPT, KVI_OUT_MEOP, KVI_OUT_MEUNBAN, KVI_OUT_MEUSEROP, KVI_OUT_MEVOICE, KVI_OUT_OP, KVI_OUT_UNBAN, KVI_OUT_USERDEOP, KVI_OUT_USEROP, KVI_OUT_VOICE, kvi_strEqualCS(), KviEvent_OnBan, KviEvent_OnBanException, KviEvent_OnBanExceptionRemove, KviEvent_OnChanAdmin, KviEvent_OnChannelModeChange, KviEvent_OnChanOwner, KviEvent_OnDeChanAdmin, KviEvent_OnDeChanOwner, KviEvent_OnDeHalfOp, KviEvent_OnDeOp, KviEvent_OnDeUserOp, KviEvent_OnDeVoice, KviEvent_OnHalfOp, KviEvent_OnInviteException, KviEvent_OnInviteExceptionRemove, KviEvent_OnKeySet, KviEvent_OnKeyUnset, KviEvent_OnLimitSet, KviEvent_OnLimitUnset, KviEvent_OnMeBan, KviEvent_OnMeBanException, KviEvent_OnMeBanExceptionRemove, KviEvent_OnMeChanAdmin, KviEvent_OnMeChanOwner, KviEvent_OnMeDeChanAdmin, KviEvent_OnMeDeChanOwner, KviEvent_OnMeDeHalfOp, KviEvent_OnMeDeOp, KviEvent_OnMeDeUserOp, KviEvent_OnMeDeVoice, KviEvent_OnMeHalfOp, KviEvent_OnMeInviteException, KviEvent_OnMeInviteExceptionRemove, KviEvent_OnMeOp, KviEvent_OnMeQuietBan, KviEvent_OnMeQuietUnban, KviEvent_OnMeUnban, KviEvent_OnMeUserOp, KviEvent_OnMeVoice, KviEvent_OnOp, KviEvent_OnQuietBan, KviEvent_OnQuietUnban, KviEvent_OnUnban, KviEvent_OnUserOp, KviEvent_OnVoice, KviOption_boolShowCompactModeChanges, KVS_TRIGGER_EVENT_3_HALTED, KVS_TRIGGER_EVENT_4_HALTED, KVS_TRIGGER_EVENT_5_HALTED, KviIrcMask::matchesFixed(), KviIrcConnectionUserInfo::nickName(), KviWindow::output(), KviCString::ptr(), KviIrcMessage::safeParam(), KviIrcMessage::safePrefix(), KviIrcConnection::serverInfo(), KviChannelWindow::setChanAdmin(), KviChannelWindow::setChannelMode(), KviChannelWindow::setChannelModeWithParam(), KviChannelWindow::setChanOwner(), KviIrcMessage::setHaltOutput(), KviChannelWindow::setModeInList(), KviIrcConnectionServerInfo::supportedListModes(), KviIrcConnectionServerInfo::supportedParameterModes(), KviIrcConnectionServerInfo::supportedParameterWhenSetModes(), szHost, KviWindow::updateCaption(), KviIrcConnection::userInfo(), and KviIrcConnectionUserInfo::userName().

Referenced by parseLiteralMode(), and parseNumericChannelModeIs().

void KviIrcServerParser::parseCommandEndOfHelp ( KviIrcMessage msg)
private
void KviIrcServerParser::parseCommandHelp ( KviIrcMessage msg)
private
void KviIrcServerParser::parseCommandSyntaxHelp ( KviIrcMessage msg)
private
void KviIrcServerParser::parseCtcpReply ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpReplyAvatar ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpReplyGeneric ( KviCtcpMessage msg)
private

References echoCtcpReply().

void KviIrcServerParser::parseCtcpReplyLagcheck ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpReplyPing ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpReplyUserinfo ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequest ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestAction ( KviCtcpMessage msg)
private

References __tr2qs, KviConsoleWindow::activeWindow(), KviConsoleWindow::applyHighlighting(), KviIrcMessage::connection(), KviWindow::connection(), KviIrcMessage::console(), KviIrcConnection::createQuery(), KviWindow::decodeText(), KviIrcConnection::decodeText(), KviWindow::demandAttention(), KviIrcConnection::findChannel(), KviIrcConnection::findQuery(), g_pApp, KviWindow::hasAttention(), KviIrcMask::host(), IS_ME, KVI_OPTION_BOOL, KVI_OPTION_MSGTYPE, KVI_OPTION_STRING, KVI_OPTION_UINT, KVI_OUT_ACTION, KVI_OUT_HIGHLIGHT, KVI_OUT_SYSTEMWARNING, KviEvent_OnAction, KviEvent_OnQueryWindowRequest, KviOption_boolCreateQueryOnPrivmsg, KviOption_boolExternalMessagesToActiveWindow, KviOption_boolFlashWindowOnHighlightedMessages, KviOption_boolPopupNotifierOnHighlightedMessages, KviOption_boolStripMircColorsInUserMessages, KviOption_stringOnNewQueryOpenedSound, KviOption_stringOnQueryMessageSound, KviOption_uintNotifierAutoHideTime, KVS_TRIGGER_EVENT_4_HALTED, KVS_TRIGGER_EVENT_6_HALTED, KviWindow::MainWindowIsVisible, KviIrcMessage::messageTagsKvsHash(), _KviCtcpMessage::msg, KviIrcMask::nick(), KviApplication::notifierMessage(), KviWindow::output(), KviWindow::outputNoFmt(), _KviCtcpMessage::pData, _KviCtcpMessage::pSource, KviCString::ptr(), KviKvsScript::run(), KviIrcMessage::serverTime(), KviIrcMessage::setHaltOutput(), KviQueryWindow::setTarget(), KviControlCodes::stripControlBytes(), _KviCtcpMessage::szTarget, KviQString::toHtmlEscaped(), KviRuntimeInfo::type(), and KviIrcMask::user().

void KviIrcServerParser::parseCtcpRequestAvatar ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestClientinfo ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestDcc ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestFinger ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestPage ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestPing ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestSource ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestTime ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestUserinfo ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseCtcpRequestVersion ( KviCtcpMessage msg)
private
void KviIrcServerParser::parseLiteralAccount ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralAuthenticate ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralAway ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralCap ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralChghost ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralError ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralInvite ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralJoin ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralKick ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralMode ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralNick ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralNotice ( KviIrcMessage msg)
private

References __tr2qs, KviConsoleWindow::activeWindow(), _KviCtcpMessage::bIgnored, _KviCtcpMessage::bIsFlood, _KviCtcpMessage::bUnknown, c, KviWindow::Channel, KviIrcMessage::connection(), KviWindow::connection(), KviIrcMessage::console(), KviWindow::Console, KviIrcConnection::createQuery(), KviIrcConnection::currentNickName(), KviIrcConnection::currentServerName(), KviCString::cutLeft(), KviCString::cutRight(), KviIrcMessage::decodeAndSplitPrefix(), KviWindow::decodeText(), KviIrcConnection::decodeText(), DECRYPT_IF_NEEDED, KviWindow::demandAttention(), KviQString::equalCI(), KviIrcConnection::findChannel(), KviIrcConnection::findQuery(), g_pApp, KviIrcMessage::haltOutput(), KviWindow::hasAttention(), KviNickServRule::identifyCommand(), IS_ME, KviNickServRuleSet::isEmpty(), KviNickServRuleSet::isEnabled(), KviRegisteredUser::isIgnoreEnabledFor(), KviIrcConnectionServerInfo::isSupportedModePrefix(), kvi_mayBeSpam(), KVI_OPTION_BOOL, KVI_OPTION_STRING, KVI_OPTION_UINT, KVI_OUT_BROADCASTNOTICE, KVI_OUT_CHANNELNOTICE, KVI_OUT_CHANNELNOTICECRYPTED, KVI_OUT_CHANSERV, KVI_OUT_IGNORE, KVI_OUT_MEMOSERV, KVI_OUT_NICKSERV, KVI_OUT_QUERYNOTICE, KVI_OUT_QUERYNOTICECRYPTED, KVI_OUT_SERVERNOTICE, KVI_OUT_SPAM, KVI_OUT_SYSTEMERROR, KVI_OUT_SYSTEMMESSAGE, KVI_USERACTION_NOTICE, KviEvent_OnBroadcastNotice, KviEvent_OnChannelNotice, KviEvent_OnChanServNotice, KviEvent_OnMeHostChange, KviEvent_OnMemoServNotice, KviEvent_OnNickServNotice, KviEvent_OnQueryNotice, KviEvent_OnQueryWindowRequest, KviEvent_OnServerNotice, KviOption_boolCreateQueryOnNotice, KviOption_boolExternalMessagesToActiveWindow, KviOption_boolFlashQueryWindowOnNewMessages, KviOption_boolPasteLastLogOnQueryJoin, KviOption_boolPopupNotifierOnNewNotices, KviOption_boolServerNoticesToActiveWindow, KviOption_boolServicesNoticesToActiveWindow, KviOption_boolSilentAntiSpam, KviOption_boolUseAntiSpamOnNotice, KviOption_boolVerboseIgnore, KviOption_stringOnNewQueryOpenedSound, KviOption_uintNotifierAutoHideTime, KVS_TRIGGER_EVENT_2_HALTED, KVS_TRIGGER_EVENT_5_HALTED, KVS_TRIGGER_EVENT_6_HALTED, KviCString::lastCharIs(), KviCString::len(), KviWindow::MainWindowIsVisible, KviNickServRuleSet::matchRule(), KviIrcMessage::messageTagsKvsHash(), _KviCtcpMessage::msg, KviIrcConnectionTarget::network(), KviIrcNetwork::nickServRuleSet(), KviConsoleWindow::NoNotifier, KviRegisteredUser::Notice, KviApplication::notifierMessage(), KviConsoleWindow::NoWindowFlashing, KviWindow::output(), KviWindow::outputNoFmt(), KviConsoleWindow::outputPrivmsg(), parseCtcpReply(), KviQueryWindow::pasteLastLog(), _KviCtcpMessage::pData, _KviCtcpMessage::pSource, KviCString::ptr(), KviWindow::Query, KviIconManager::QueryNotice, r, KviIrcUserDataBase::registeredUser(), KviKvsScript::run(), KviIrcMessage::safeParam(), KviIrcMessage::safeTrailing(), KviIrcConnection::serverInfo(), KviIrcMessage::serverTime(), KviIrcMessage::setHaltOutput(), KviQueryWindow::setTarget(), KviIrcConnectionServerInfo::software(), szBuffer, szHost, _KviCtcpMessage::szTarget, KviIrcConnection::target(), KviQString::toHtmlEscaped(), KviIrcMessage::trailingString(), KviWindow::type(), u, KviQueryWindow::userAction(), KviChannelWindow::userAction(), KviIrcConnection::userDataBase(), and KviRuntimeInfo::version().

void KviIrcServerParser::parseLiteralPart ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralPing ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralPong ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralPrivmsg ( KviIrcMessage msg)
private

References __tr2qs, KviConsoleWindow::activeWindow(), _KviCtcpMessage::bIgnored, _KviCtcpMessage::bIsFlood, _KviCtcpMessage::bUnknown, c, KviRegisteredUser::Channel, KviWindow::Channel, KviIrcMessage::connection(), KviWindow::connection(), KviIrcMessage::console(), KviIrcConnection::createQuery(), KviCString::cutLeft(), KviCString::cutRight(), KviIrcMessage::decodeAndSplitPrefix(), KviWindow::decodeText(), KviIrcConnection::decodeText(), DECRYPT_IF_NEEDED, KviWindow::demandAttention(), KviIrcConnection::findChannel(), KviIrcConnection::findQuery(), g_pApp, KviIrcMessage::haltOutput(), KviWindow::hasAttention(), KviIrcConnectionStateData::identifyMsgCapabilityEnabled(), IdentifyMsgCapNotUsed, IdentifyMsgCapUsedIdentified, IdentifyMsgCapUsedNotIdentified, IS_ME, KviRegisteredUser::isIgnoreEnabledFor(), KviIrcConnectionServerInfo::isSupportedModePrefix(), kvi_mayBeSpam(), KVI_OPTION_BOOL, KVI_OPTION_STRING, KVI_OPTION_UINT, KVI_OUT_BROADCASTPRIVMSG, KVI_OUT_CHANPRIVMSG, KVI_OUT_CHANPRIVMSGCRYPTED, KVI_OUT_IGNORE, KVI_OUT_QUERYPRIVMSG, KVI_OUT_QUERYPRIVMSGCRYPTED, KVI_OUT_SPAM, KVI_USERACTION_PRIVMSG, KviEvent_OnChannelMessage, KviEvent_OnIgnoredMessage, KviEvent_OnQueryMessage, KviEvent_OnQueryWindowRequest, KviOption_boolCreateQueryOnPrivmsg, KviOption_boolExternalMessagesToActiveWindow, KviOption_boolFlashQueryWindowOnNewMessages, KviOption_boolOperatorMessagesToActiveWindow, KviOption_boolPasteLastLogOnQueryJoin, KviOption_boolPopupNotifierOnNewQueryMessages, KviOption_boolSilentAntiSpam, KviOption_boolUseAntiSpamOnPrivmsg, KviOption_boolVerboseIgnore, KviOption_stringOnNewQueryOpenedSound, KviOption_stringOnQueryMessageSound, KviOption_uintNotifierAutoHideTime, KVS_TRIGGER_EVENT_5_HALTED, KVS_TRIGGER_EVENT_6_HALTED, KVS_TRIGGER_EVENT_7_HALTED, KviCString::lastCharIs(), KviCString::len(), KviWindow::MainWindowIsVisible, KviIrcMessage::messageTagsKvsHash(), _KviCtcpMessage::msg, KviConsoleWindow::NoNotifier, KviApplication::notifierMessage(), KviConsoleWindow::NoWindowFlashing, KviWindow::output(), KviConsoleWindow::outputPrivmsg(), parseCtcpRequest(), KviQueryWindow::pasteLastLog(), _KviCtcpMessage::pData, _KviCtcpMessage::pSource, KviCString::ptr(), KviRegisteredUser::Query, KviIconManager::QueryPrivMsg, KviIrcUserDataBase::registeredUser(), KviKvsScript::run(), KviIrcMessage::safeParam(), KviIrcMessage::safeTrailing(), KviIrcConnection::serverInfo(), KviIrcMessage::serverTime(), KviIrcMessage::setHaltOutput(), KviQueryWindow::setTarget(), KviIrcConnection::stateData(), szBuffer, szHost, _KviCtcpMessage::szTarget, KviQString::toHtmlEscaped(), KviIrcMessage::trailingString(), KviWindow::type(), u, KviQueryWindow::userAction(), KviChannelWindow::userAction(), and KviIrcConnection::userDataBase().

void KviIrcServerParser::parseLiteralQuit ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralTopic ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLiteralWallops ( KviIrcMessage msg)
private
void KviIrcServerParser::parseLoginNicknameProblem ( KviIrcMessage msg)
private
void KviIrcServerParser::parseMessage ( const char *  message,
KviIrcConnection pConnection 
)
void KviIrcServerParser::parseNumeric001 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric002 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric003 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric004 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric005 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric020 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric344 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric345 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric367 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric368 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric480 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric486 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric728 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric729 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumeric742 ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericAList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericAlreadyRegistered ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericAway ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericBackFromAway ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericBanOnChan ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCannotSend ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCannotSendColor ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCantJoinChannel ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericChanAccessList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericChannelModeIs ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericChanUrl ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCodePageScheme ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCodePageSet ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCommandSyntax ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericCreationTime ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfAList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfChanAccessList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfExceptList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfExemptChanOpList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfInviteList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfLinks ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfNames ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfQList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfQuietList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfReopList ( KviIrcMessage msg)
private

Referenced by parseNumeric345().

void KviIrcServerParser::parseNumericEndOfSpamFilterList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfStats ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfWho ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfWhois ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericEndOfWhowas ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericExceptList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericExemptChanOpList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericForward ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericHiddenHost ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInfo ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInfoEnd ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInfoStart ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInvited ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInviteList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericInviting ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericIsOn ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericLinks ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericListEnd ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericListStart ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericMotd ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericMotdMissing ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNames ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNeedSSL ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNicknameProblem ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNoPrivs ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNoSuchChannel ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNoSuchNick ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNoSuchServer ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNotEnoughParams ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNotifyGeneric ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNoTopic ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericNotRegistered ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericOftcEndOfQuietList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericOftcQuietList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericPasswordIncorrect ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericQList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericQuietList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericReopList ( KviIrcMessage msg)
private

Referenced by parseNumeric344().

void KviIrcServerParser::parseNumericSaslFail ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericSaslLogin ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericSaslSuccess ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericServerAdminInfoAdminContact ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericServerAdminInfoAdminName ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericServerAdminInfoServerName ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericServerAdminInfoTitle ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericSnomask ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericSpamFilterList ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericStartTls ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericStats ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericTime ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericTopic ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericTopicWhoTime ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericTryAgain ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUnavailResource ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUnknownCommand ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUserhost ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUserInChan ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUserMode ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericUsersDontMatch ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWatch ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisActually ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisAuth ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisAway ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisChannels ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisIdle ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisOther ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisRegistered ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisServer ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoisUser ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhoReply ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhospcrpl ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericWhowasUser ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericYouHaveCallerID ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericYoureOper ( KviIrcMessage msg)
private
void KviIrcServerParser::parseNumericYourUID ( KviIrcMessage msg)
private
void KviIrcServerParser::parseUserMode ( KviIrcMessage msg,
const char *  modeflptr 
)
private
void KviIrcServerParser::replyCtcp ( KviCtcpMessage msg,
const QString &  data 
)
private

Member Data Documentation

KviCtcpMessageParseStruct KviIrcServerParser::m_ctcpParseProcTable
staticprivate
Initial value:
= {
{ "ACTION" , PTM(REQ(Action)) , PTM(REQ(Action)) , 0 },
{ "AVATAR" , PTM(REQ(Avatar)) , PTM(RPL(Avatar)) , 0 },
{ "CLIENTINFO" , PTM(REQ(Clientinfo)) , PTM(RPL(Generic)) , 0 },
{ "DCC" , PTM(REQ(Dcc)) , PTM(REQ(Dcc)) , 0 },
{ "FINGER" , PTM(REQ(Finger)) , PTM(RPL(Generic)) , 0 },
{ "LAGCHECK" , nullptr , PTM(RPL(Lagcheck)) , KVI_CTCP_MESSAGE_PARSE_TRIGGERNOEVENT },
{ "PAGE" , PTM(REQ(Page)) , PTM(RPL(Generic)) , 0 },
{ "PING" , PTM(REQ(Ping)) , PTM(RPL(Ping)) , 0 },
{ "SOURCE" , PTM(REQ(Source)) , PTM(RPL(Generic)) , 0 },
{ "TDCC" , PTM(REQ(Dcc)) , PTM(REQ(Dcc)) , 0 },
{ "TIME" , PTM(REQ(Time)) , PTM(RPL(Generic)) , 0 },
{ "USERINFO" , PTM(REQ(Userinfo)) , PTM(RPL(Userinfo)) , 0 },
{ "VERSION" , PTM(REQ(Version)) , PTM(RPL(Generic)) , 0 },
{ "XDCC" , PTM(REQ(Dcc)) , PTM(REQ(Dcc)) , 0 },
{ nullptr , nullptr , nullptr , 0 }
}

Referenced by parseCtcpReply(), and parseCtcpRequest().

KviLiteralMessageParseStruct KviIrcServerParser::m_literalParseProcTable
staticprivate
Initial value:
= {
{ "ACCOUNT" , PTM(parseLiteralAccount) },
{ "AUTHENTICATE" , PTM(parseLiteralAuthenticate) },
{ "AWAY" , PTM(parseLiteralAway) },
{ "CAP" , PTM(parseLiteralCap) },
{ "CHGHOST" , PTM(parseLiteralChghost) },
{ "ERROR" , PTM(parseLiteralError) },
{ "INVITE" , PTM(parseLiteralInvite) },
{ "JOIN" , PTM(parseLiteralJoin) },
{ "KICK" , PTM(parseLiteralKick) },
{ "MODE" , PTM(parseLiteralMode) },
{ "NICK" , PTM(parseLiteralNick) },
{ "NOTICE" , PTM(parseLiteralNotice) },
{ "PART" , PTM(parseLiteralPart) },
{ "PING" , PTM(parseLiteralPing) },
{ "PONG" , PTM(parseLiteralPong) },
{ "PRIVMSG" , PTM(parseLiteralPrivmsg) },
{ "QUIT" , PTM(parseLiteralQuit) },
{ "TOPIC" , PTM(parseLiteralTopic) },
{ "WALLOPS" , PTM(parseLiteralWallops) },
{ nullptr , nullptr }
}

Referenced by parseMessage().

messageParseProc KviIrcServerParser::m_numericParseProcTable
staticprivate

Referenced by parseMessage().

KviCString KviIrcServerParser::m_szLastParserError
private

Referenced by parseMessage().


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