![]() |
KVIrc
4.9.2
DeveloperAPIs
|
#include <KviProxy.h>
Public Types | |
| enum | Protocol { Socks4, Socks5, Http } |
Public Member Functions | |
| bool | hasPass () const |
| bool | hasUser () const |
| const QString & | hostName () const |
| const QString & | ip () const |
| bool | isIPv6 () const |
| KviProxy () | |
| KviProxy (const KviProxy &prx) | |
| void | normalizeUserAndPass () |
| const QString & | pass () const |
| unsigned int | passLen () const |
| kvi_u32_t | port () const |
| Protocol | protocol () const |
| const QString | protocolName () const |
| void | setHostname (const QString &h) |
| void | setIp (const QString &i) |
| void | setIPv6 (bool b) |
| void | setNamedProtocol (const char *proto) |
| void | setPass (const QString &p) |
| void | setPort (kvi_u32_t &p) |
| void | setProtocol (Protocol p) |
| void | setUser (const QString &u) |
| const QString & | user () const |
| unsigned int | userLen () const |
| ~KviProxy () | |
Static Public Member Functions | |
| static void | getSupportedProtocolNames (QStringList &buf) |
Public Attributes | |
| bool | m_bIsIPv6 |
| Protocol | m_protocol |
| QString | m_szHostname |
| QString | m_szIp |
| QString | m_szPass |
| QString | m_szUser |
| kvi_u32_t | m_uPort |
| enum KviProxy::Protocol |
| KviProxy::KviProxy | ( | ) |
References m_bIsIPv6, m_protocol, m_szHostname, m_uPort, and Socks4.
| KviProxy::KviProxy | ( | const KviProxy & | prx | ) |
References m_bIsIPv6, m_protocol, m_szHostname, m_szIp, m_szPass, m_szUser, and m_uPort.
|
default |
|
static |
References i, and proxy_protocols_table.
Referenced by OptionsWidget_proxy::OptionsWidget_proxy().
|
inline |
Referenced by KviIrcSocket::proxyLoginV4(), and KviIrcSocket::proxyLoginV5().
|
inline |
Referenced by KviIrcSocket::proxyLoginHttp(), and KviIrcSocket::proxyLoginV5().
|
inline |
|
inline |
|
inline |
| void KviProxy::normalizeUserAndPass | ( | ) |
References m_szPass, and m_szUser.
Referenced by KviIrcSocket::proxyLoginV4(), and KviIrcSocket::proxyLoginV5().
|
inline |
|
inline |
Referenced by KviIrcSocket::proxyAuthUserPassV5().
|
inline |
Referenced by KviIrcConnectionTargetResolver::asyncStartResolve(), and KviIrcSocket::startConnection().
|
inline |
| const QString KviProxy::protocolName | ( | ) | const |
References Http, m_protocol, proxy_protocols_table, and Socks5.
Referenced by KviIrcConnectionTargetResolver::asyncStartResolve(), and OptionsWidget_proxy::currentItemChanged().
|
inline |
References h.
Referenced by proxydb_get_helper(), proxydb_kvs_cmd_addProxy(), proxydb_kvs_cmd_setIp(), proxydb_kvs_cmd_setIPv6(), proxydb_kvs_cmd_setPort(), proxydb_kvs_cmd_setProtocol(), and proxydb_kvs_fnc_protocol().
|
inline |
References i.
Referenced by KviIrcConnectionTargetResolver::lookupProxyHostname(), proxydb_kvs_cmd_setIp(), and KviIrcConnectionTargetResolver::proxyLookupTerminated().
|
inline |
Referenced by proxydb_kvs_cmd_addProxy(), and proxydb_kvs_cmd_setIPv6().
| void KviProxy::setNamedProtocol | ( | const char * | proto | ) |
References Http, kvi_strEqualCI(), m_protocol, Socks4, and Socks5.
Referenced by KviProxyDataBase::load(), and OptionsWidget_proxy::saveLastItem().
|
inline |
References p.
Referenced by proxydb_kvs_cmd_addProxy().
|
inline |
References p.
Referenced by proxydb_kvs_cmd_addProxy(), and proxydb_kvs_cmd_setPort().
|
inline |
References p.
Referenced by proxydb_kvs_cmd_addProxy(), and proxydb_kvs_cmd_setProtocol().
|
inline |
References u.
Referenced by proxydb_kvs_cmd_addProxy().
|
inline |
|
inline |
Referenced by KviIrcSocket::proxyAuthUserPassV5().
| bool KviProxy::m_bIsIPv6 |
Referenced by KviProxy(), KviProxyDataBase::load(), and OptionsWidget_proxy::saveLastItem().
| Protocol KviProxy::m_protocol |
Referenced by KviProxy(), protocolName(), and setNamedProtocol().
| QString KviProxy::m_szHostname |
| QString KviProxy::m_szIp |
| QString KviProxy::m_szPass |
| QString KviProxy::m_szUser |
| kvi_u32_t KviProxy::m_uPort |
1.8.7