KVIrc
4.9.2
DeveloperAPIs
|
#include "KviModule.h"
#include "KviApplication.h"
#include "KviLocale.h"
#include "KviProxy.h"
#include "KviProxyDataBase.h"
#include <QString>
#include <QHostAddress>
Macros | |
#define | PROXYDB_GET_PROPERTY(__functionName, __callName, __variantSetCallName) |
#define | PROXYDB_SET_PROPERTY(__functionName, __callName) |
Functions | |
static KviProxy * | proxydb_get_helper (KviKvsModuleFunctionCall *c) |
static bool | proxydb_get_helperer (KviKvsModuleFunctionCall *c, QString *szProxy) |
static bool | proxydb_kvs_cmd_addProxy (KviKvsModuleCommandCall *c) |
static bool | proxydb_kvs_cmd_setIp (KviKvsModuleCommandCall *c) |
static bool | proxydb_kvs_cmd_setIPv6 (KviKvsModuleCommandCall *c) |
static bool | proxydb_kvs_cmd_setPort (KviKvsModuleCommandCall *c) |
static bool | proxydb_kvs_cmd_setProtocol (KviKvsModuleCommandCall *c) |
static bool | proxydb_kvs_fnc_protocol (KviKvsModuleFunctionCall *c) |
static bool | proxydb_module_can_unload (KviModule *) |
static bool | proxydb_module_cleanup (KviModule *) |
static bool | proxydb_module_init (KviModule *m) |
Variables | |
KVIRC_API KviProxyDataBase * | g_pProxyDataBase |
#define PROXYDB_GET_PROPERTY | ( | __functionName, | |
__callName, | |||
__variantSetCallName | |||
) |
#define PROXYDB_SET_PROPERTY | ( | __functionName, | |
__callName | |||
) |
|
static |
|
static |
References KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, and KVSM_PARAMETERS_END.
Referenced by proxydb_get_helper().
|
static |
References __tr2qs_ctx(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KviProxy::Http, KviProxyDataBase::insertProxy(), KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::setHostname(), KviProxy::setIPv6(), KviProxy::setPass(), KviProxy::setPort(), KviProxy::setProtocol(), KviProxy::setUser(), KviProxy::Socks4, KviProxy::Socks5, and uPort.
Referenced by proxydb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::setHostname(), KviProxy::setIp(), and KviKvsModuleCommandCall::switches().
Referenced by proxydb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KVS_PT_BOOLEAN, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::setHostname(), KviProxy::setIPv6(), and KviKvsModuleCommandCall::switches().
Referenced by proxydb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::setHostname(), KviProxy::setPort(), KviKvsModuleCommandCall::switches(), and uPort.
Referenced by proxydb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KviProxy::Http, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::setHostname(), KviProxy::setProtocol(), KviProxy::Socks4, KviProxy::Socks5, and KviKvsModuleCommandCall::switches().
Referenced by proxydb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviProxyDataBase::findProxy(), g_pProxyDataBase, KviProxy::Http, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviProxy::protocol(), KviKvsModuleFunctionCall::returnValue(), KviProxy::setHostname(), KviKvsVariant::setString(), KviProxy::Socks4, and KviProxy::Socks5.
Referenced by proxydb_module_init().
|
static |
|
static |
|
static |
KVIRC_API KviProxyDataBase* g_pProxyDataBase |
Referenced by OptionsWidget_proxy::commit(), OptionsWidget_proxy::fillProxyList(), IrcServerDetailsWidget::IrcServerDetailsWidget(), proxydb_get_helper(), proxydb_kvs_cmd_addProxy(), proxydb_kvs_cmd_setIp(), proxydb_kvs_cmd_setIPv6(), proxydb_kvs_cmd_setPort(), proxydb_kvs_cmd_setProtocol(), proxydb_kvs_fnc_protocol(), KviApplication::saveProxyDataBase(), KviApplication::setup(), and KviApplication::~KviApplication().