KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
libkviproxydb.cpp File Reference
#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 KviProxyproxydb_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 KviProxyDataBaseg_pProxyDataBase
 

Macro Definition Documentation

#define PROXYDB_GET_PROPERTY (   __functionName,
  __callName,
  __variantSetCallName 
)
Value:
static bool __functionName(KviKvsModuleFunctionCall * c) \
{ \
KviProxy * pRecord = proxydb_get_helper(c); \
if(pRecord == nullptr) \
return false; \
c->returnValue()->__variantSetCallName(pRecord->__callName()); \
return true; \
}
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
if(m_pFile) delete m_pFile
Definition: KviKvsModuleInterface.h:110
static KviProxy * proxydb_get_helper(KviKvsModuleFunctionCall *c)
Definition: libkviproxydb.cpp:106
#define PROXYDB_SET_PROPERTY (   __functionName,
  __callName 
)

Function Documentation

static KviProxy* proxydb_get_helper ( KviKvsModuleFunctionCall c)
static
static bool proxydb_get_helperer ( KviKvsModuleFunctionCall c,
QString *  szProxy 
)
static
static bool proxydb_kvs_cmd_addProxy ( KviKvsModuleCommandCall c)
static
static bool proxydb_kvs_cmd_setIp ( KviKvsModuleCommandCall c)
static
static bool proxydb_kvs_cmd_setIPv6 ( KviKvsModuleCommandCall c)
static
static bool proxydb_kvs_cmd_setPort ( KviKvsModuleCommandCall c)
static
static bool proxydb_kvs_cmd_setProtocol ( KviKvsModuleCommandCall c)
static
static bool proxydb_kvs_fnc_protocol ( KviKvsModuleFunctionCall c)
static
static bool proxydb_module_can_unload ( KviModule )
static
static bool proxydb_module_cleanup ( KviModule )
static
static bool proxydb_module_init ( KviModule m)
static

Variable Documentation

KVIRC_API KviProxyDataBase* g_pProxyDataBase