KVIrc
4.9.2
DeveloperAPIs
|
#include "DccVoiceGsmCodec.h"
#include "DccBroker.h"
#include "DccVoiceWindow.h"
#include "DccVideoWindow.h"
#include "DccUtils.h"
#include "DccFileTransfer.h"
#include "DccWindow.h"
#include "kvi_debug.h"
#include "kvi_settings.h"
#include "KviCString.h"
#include "KviModule.h"
#include "KviIrcServerParser.h"
#include "KviLocale.h"
#include "kvi_out.h"
#include "KviConsoleWindow.h"
#include "KviNetUtils.h"
#include "KviMainWindow.h"
#include "KviError.h"
#include "KviOptions.h"
#include "kvi_defaults.h"
#include "KviApplication.h"
#include "KviIrcConnection.h"
#include "KviIrcConnectionUserInfo.h"
#include <QFileInfo>
Variables | |
DccBroker * | g_pDccBroker = nullptr |
|
static |
References DccFileTransfer::abort(), dcc_kvs_find_dcc_descriptor(), KviWindow::delayedClose(), KviKvsSwitchList::find(), KVS_PF_OPTIONAL, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleCommandCall::switches(), DccDescriptor::transfer(), and DccDescriptor::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccBroker::addZeroPortTag(), DccDescriptor::bActive, DccDescriptor::bSendRequest, KviWindow::connection(), DccDescriptor::console(), KviWindow::console(), d, dcc_kvs_parse_default_parameters(), dcc_module_set_dcc_type(), KviIrcConnection::encodeText(), KviKvsRunTimeCall::error(), DccBroker::executeChat(), KviKvsSwitchList::find(), KVS_PT_NONEMPTYSTRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviDccZeroPortTag::m_szTag, KviIrcConnection::sendFmtData(), KviKvsModuleCommandCall::switches(), DccDescriptor::szHost, DccDescriptor::szIp, DccDescriptor::szListenIp, DccDescriptor::szListenPort, DccDescriptor::szNick, DccDescriptor::szPort, DccDescriptor::szType, DccDescriptor::szUser, t(), DccDescriptor::triggerCreationEvent(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), KviWindow::connection(), KviWindow::console(), KviQString::cutToLast(), KviIrcConnection::encodeText(), KviKvsSwitchList::find(), KVS_PF_OPTIONAL, KVS_PT_NONEMPTYSTRING, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KVSM_REQUIRE_CONNECTION, KviCString::prepend(), KviCString::ptr(), KviIrcConnection::sendFmtData(), KviKvsModuleCommandCall::switches(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccDescriptor::bActive, DccDescriptor::bAutoAccept, DccDescriptor::bIsIncomingAvatar, DccDescriptor::bIsTdcc, DccDescriptor::bNoAcks, DccDescriptor::bRecvFile, DccDescriptor::bResume, DccDescriptor::bSendRequest, DccDescriptor::console(), KviWindow::console(), d, dcc_kvs_parse_default_parameters(), dcc_module_set_dcc_type(), KviKvsSwitchList::find(), KviApplication::findPendingAvatarChange(), g_pApp, KVI_OPTION_BOOL, KviOption_boolAutoAcceptDccSend, KviOption_boolAutoAcceptIncomingAvatars, KVS_PT_NONEMPTYSTRING, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, DccBroker::recvFileManage(), KviKvsModuleCommandCall::switches(), DccDescriptor::szFileName, DccDescriptor::szFileSize, DccDescriptor::szHost, DccDescriptor::szIp, DccDescriptor::szNick, DccDescriptor::szPort, DccDescriptor::szUser, DccDescriptor::triggerCreationEvent(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
COMPILE_SSL_SUPPORT
References __tr2qs_ctx(), DccDescriptor::bIsTdcc, KviWindow::console(), d, dcc_module_set_dcc_type(), KviKvsSwitchList::find(), KVS_PF_OPTIONAL, KVS_PT_NONEMPTYSTRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KVSM_REQUIRE_CONNECTION, DccBroker::rsendManage(), DccDescriptor::setZeroPortRequestTag(), KviKvsModuleCommandCall::switches(), DccDescriptor::szLocalFileName, DccDescriptor::szNick, DccDescriptor::triggerCreationEvent(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), __tr_ctx, KviKvsVariant::asInteger(), KviKvsVariant::asString(), DccDescriptor::bActive, DccDescriptor::bAutoAccept, DccDescriptor::bIsIncomingAvatar, DccDescriptor::bNoAcks, DccDescriptor::bRecvFile, DccDescriptor::bResume, DccDescriptor::bSendRequest, KviWindow::console(), d, dcc_kvs_parse_default_parameters(), dcc_module_set_dcc_type(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviKvsVariant::isBoolean(), KVS_PF_OPTIONAL, KVS_PT_NONEMPTYSTRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, DccBroker::recvFileManage(), DccBroker::sendFileExecute(), DccBroker::sendFileManage(), KviKvsModuleCommandCall::switches(), DccDescriptor::szFileName, DccDescriptor::szFileSize, DccDescriptor::szHost, DccDescriptor::szIp, DccDescriptor::szListenIp, DccDescriptor::szListenPort, DccDescriptor::szLocalFileName, DccDescriptor::szNick, DccDescriptor::szPort, DccDescriptor::szUser, DccDescriptor::triggerCreationEvent(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), dcc_kvs_find_dcc_descriptor(), KviKvsSwitchList::find(), KVS_PF_OPTIONAL, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, DccFileTransfer::setBandwidthLimit(), KviKvsModuleCommandCall::switches(), DccDescriptor::transfer(), and KviKvsRunTimeCall::warning().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccBroker::activeVideoExecute(), DccDescriptor::bActive, DccDescriptor::bSendRequest, KviWindow::console(), d, dcc_kvs_parse_default_parameters(), dcc_module_set_dcc_type(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), kvi_dcc_video_is_valid_codec(), KVS_PT_NONEMPTYSTRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, DccBroker::passiveVideoExecute(), KviKvsModuleCommandCall::switches(), DccDescriptor::szCodec, DccDescriptor::szHost, DccDescriptor::szIp, DccDescriptor::szListenIp, DccDescriptor::szListenPort, DccDescriptor::szNick, DccDescriptor::szPort, DccDescriptor::szUser, DccDescriptor::triggerCreationEvent(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccBroker::activeVoiceExecute(), DccDescriptor::bActive, DccDescriptor::bSendRequest, KviWindow::console(), d, dcc_kvs_parse_default_parameters(), dcc_module_set_dcc_type(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), DccDescriptor::iSampleRate, kvi_dcc_voice_is_valid_codec(), KVS_PT_NONEMPTYSTRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, DccBroker::passiveVoiceExecute(), KviKvsModuleCommandCall::switches(), DccDescriptor::szCodec, DccDescriptor::szHost, DccDescriptor::szIp, DccDescriptor::szListenIp, DccDescriptor::szListenPort, DccDescriptor::szNick, DccDescriptor::szPort, DccDescriptor::szUser, DccDescriptor::triggerCreationEvent(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccDescriptor::find(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_kvs_cmd_abort(), dcc_kvs_cmd_setBandwidthLimit(), dcc_kvs_fnc_averageSpeed(), dcc_kvs_fnc_connectionType(), dcc_kvs_fnc_currentSpeed(), dcc_kvs_fnc_getSSLCertInfo(), dcc_kvs_fnc_ircContext(), dcc_kvs_fnc_isFileDownload(), dcc_kvs_fnc_isFileTransfer(), dcc_kvs_fnc_isFileUpload(), dcc_kvs_fnc_localFileName(), dcc_kvs_fnc_localFileSize(), dcc_kvs_fnc_localHost(), dcc_kvs_fnc_localIp(), dcc_kvs_fnc_localNick(), dcc_kvs_fnc_localPort(), dcc_kvs_fnc_localUser(), dcc_kvs_fnc_protocol(), dcc_kvs_fnc_remoteFileName(), dcc_kvs_fnc_remoteFileSize(), dcc_kvs_fnc_remoteHost(), dcc_kvs_fnc_remoteIp(), dcc_kvs_fnc_remoteNick(), dcc_kvs_fnc_remotePort(), dcc_kvs_fnc_remoteUser(), dcc_kvs_fnc_transferredBytes(), and dcc_kvs_fnc_transferStatus().
|
static |
|
static |
|
static |
|
static |
References __tr2qs_ctx(), dcc_kvs_find_dcc_descriptor(), DccWindow::getSlaveThread(), DccFileTransfer::getSlaveThread(), KVS_PF_OPTIONAL, KVS_PT_STRING, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsVariant::setString(), DccDescriptor::transfer(), KviKvsRunTimeCall::warning(), and DccDescriptor::window().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), DccDescriptor::console(), KviConsoleWindow::context(), dcc_kvs_find_dcc_descriptor(), KviKvsRunTimeCall::error(), g_pApp, KviIrcContext::id(), KVS_PF_OPTIONAL, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsVariant::setInteger(), and KviApplication::windowExists().
Referenced by dcc_module_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
References __tr2qs_ctx(), KviApplication::findWindow(), g_pApp, DccDescriptor::id(), KVS_PF_OPTIONAL, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsVariant::setInteger(), KviKvsRunTimeCall::warning(), and KviKvsRunTimeCall::window().
Referenced by dcc_module_init().
|
static |
References a, KviPointerHashTableIterator< Key, T >::current(), DccDescriptor::descriptorDict(), KVS_PF_OPTIONAL, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsArray::set(), and KviKvsVariant::setArray().
Referenced by dcc_module_init().
|
static |
References dcc_kvs_find_dcc_descriptor(), KVS_PF_OPTIONAL, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsVariant::setInteger(), DccDescriptor::transfer(), and DccFileTransfer::transferredBytes().
Referenced by dcc_module_init().
|
static |
References dcc_kvs_find_dcc_descriptor(), DccFileTransfer::fillStatusString(), KVS_PF_OPTIONAL, KVS_PT_UINT, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviKvsModuleFunctionCall::returnValue(), KviKvsVariant::setString(), and DccDescriptor::transfer().
Referenced by dcc_module_init().
|
static |
References __tr2qs_ctx(), KviKvsVariant::asBoolean(), KviKvsVariant::asString(), DccDescriptor::bDoTimeout, DccDescriptor::bIsTdcc, DccDescriptor::bOverrideMinimize, KviWindow::connection(), DccDescriptor::console(), d, dcc_kvs_get_listen_ip_address(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviMainWindow::firstConsole(), g_pMainWindow, KviNetUtils::getInterfaceAddress(), KviIrcConnectionUserInfo::hostName(), KviConsoleWindow::isConnected(), KVI_ASSERT, KVI_DEFAULT_NICKNAME1, KVI_OPTION_BOOL, KVI_OPTION_STRING, KviOption_boolDccSendFakeAddressByDefault, KviOption_stringDefaultDccFakeAddress, KviOption_stringNickname1, KviIrcConnectionUserInfo::nickName(), DccDescriptor::setConsole(), KviKvsModuleCommandCall::switches(), DccDescriptor::szFakeIp, DccDescriptor::szFakePort, DccDescriptor::szListenIp, DccDescriptor::szListenPort, DccDescriptor::szLocalHost, DccDescriptor::szLocalNick, DccDescriptor::szLocalUser, KviIrcConnection::userInfo(), KviIrcConnectionUserInfo::userName(), and KviKvsRunTimeCall::warning().
Referenced by dcc_kvs_cmd_chat(), dcc_kvs_cmd_recv(), dcc_kvs_cmd_send(), dcc_kvs_cmd_video(), and dcc_kvs_cmd_voice().
|
static |
References DccBroker::canUnload().
|
static |
References g_pDccBroker.
|
static |
References dcc_kvs_cmd_abort(), dcc_kvs_cmd_chat(), dcc_kvs_cmd_get(), dcc_kvs_cmd_recv(), dcc_kvs_cmd_rsend(), dcc_kvs_cmd_send(), dcc_kvs_cmd_setBandwidthLimit(), dcc_kvs_cmd_video(), dcc_kvs_cmd_voice(), dcc_kvs_fnc_averageSpeed(), dcc_kvs_fnc_connectionType(), dcc_kvs_fnc_currentSpeed(), dcc_kvs_fnc_getSSLCertInfo(), dcc_kvs_fnc_ircContext(), dcc_kvs_fnc_isFileDownload(), dcc_kvs_fnc_isFileTransfer(), dcc_kvs_fnc_isFileUpload(), dcc_kvs_fnc_localFileName(), dcc_kvs_fnc_localFileSize(), dcc_kvs_fnc_localHost(), dcc_kvs_fnc_localIp(), dcc_kvs_fnc_localNick(), dcc_kvs_fnc_localPort(), dcc_kvs_fnc_localUser(), dcc_kvs_fnc_protocol(), dcc_kvs_fnc_remoteFileName(), dcc_kvs_fnc_remoteFileSize(), dcc_kvs_fnc_remoteHost(), dcc_kvs_fnc_remoteIp(), dcc_kvs_fnc_remoteNick(), dcc_kvs_fnc_remotePort(), dcc_kvs_fnc_remoteUser(), dcc_kvs_fnc_session(), dcc_kvs_fnc_sessionList(), dcc_kvs_fnc_transferredBytes(), dcc_kvs_fnc_transferStatus(), KVSM_REGISTER_FUNCTION, and KVSM_REGISTER_SIMPLE_COMMAND.
|
static |
References DccDescriptor::bIsTdcc, and DccDescriptor::szType.
Referenced by dcc_kvs_cmd_chat(), dcc_kvs_cmd_recv(), dcc_kvs_cmd_rsend(), dcc_kvs_cmd_send(), dcc_kvs_cmd_video(), and dcc_kvs_cmd_voice().
DccBroker* g_pDccBroker = nullptr |
Referenced by dcc_module_cleanup().