mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
This commit is contained in:
@@ -3729,6 +3729,7 @@ weechat_lua_api_hook_connect (lua_State *L)
|
||||
NULL, /* gnutls session */
|
||||
NULL, /* gnutls callback */
|
||||
0, /* gnutls DH key size */
|
||||
NULL, /* gnutls priorities */
|
||||
local_hostname,
|
||||
&weechat_lua_api_hook_connect_cb,
|
||||
function,
|
||||
|
||||
@@ -3355,6 +3355,7 @@ XS (XS_weechat_api_hook_connect)
|
||||
NULL, /* gnutls session */
|
||||
NULL, /* gnutls callback */
|
||||
0, /* gnutls DH key size */
|
||||
NULL, /* gnutls priorities */
|
||||
local_hostname,
|
||||
&weechat_perl_api_hook_connect_cb,
|
||||
function,
|
||||
|
||||
@@ -3547,6 +3547,7 @@ weechat_python_api_hook_connect (PyObject *self, PyObject *args)
|
||||
NULL, /* gnutls session */
|
||||
NULL, /* gnutls callback */
|
||||
0, /* gnutls DH key size */
|
||||
NULL, /* gnutls priorities */
|
||||
local_hostname,
|
||||
&weechat_python_api_hook_connect_cb,
|
||||
function,
|
||||
|
||||
@@ -3856,6 +3856,7 @@ weechat_ruby_api_hook_connect (VALUE class, VALUE proxy, VALUE address,
|
||||
NULL, /* gnutls session */
|
||||
NULL, /* gnutls callback */
|
||||
0, /* gnutls DH key size */
|
||||
NULL, /* gnutls priorities */
|
||||
c_local_hostname,
|
||||
&weechat_ruby_api_hook_connect_cb,
|
||||
c_function,
|
||||
|
||||
@@ -929,6 +929,7 @@ script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
|
||||
const char *proxy, const char *address, int port,
|
||||
int sock, int ipv6, void *gnutls_sess,
|
||||
void *gnutls_cb, int gnutls_dhkey_size,
|
||||
const char *gnutls_priorities,
|
||||
const char *local_hostname,
|
||||
int (*callback)(void *data, int status,
|
||||
int gnutls_rc,
|
||||
@@ -946,8 +947,8 @@ script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
new_hook = weechat_hook_connect (proxy, address, port, sock, ipv6,
|
||||
gnutls_sess, gnutls_cb, gnutls_dhkey_size,
|
||||
local_hostname, callback,
|
||||
new_script_callback);
|
||||
gnutls_priorities, local_hostname,
|
||||
callback, new_script_callback);
|
||||
if (!new_hook)
|
||||
{
|
||||
script_callback_free_data (new_script_callback);
|
||||
|
||||
@@ -170,8 +170,10 @@ extern struct t_hook *script_api_hook_connect (struct t_weechat_plugin *weechat_
|
||||
int port,
|
||||
int sock,
|
||||
int ipv6,
|
||||
void *gnutls_sess, void *gnutls_cb,
|
||||
void *gnutls_sess,
|
||||
void *gnutls_cb,
|
||||
int gnutls_dhkey_size,
|
||||
const char *gnutls_priorities,
|
||||
const char *local_hostname,
|
||||
int (*callback)(void *data,
|
||||
int status,
|
||||
|
||||
@@ -3814,6 +3814,7 @@ weechat_tcl_api_hook_connect (ClientData clientData, Tcl_Interp *interp,
|
||||
NULL, /* gnutls session */
|
||||
NULL, /* gnutls callback */
|
||||
0, /* gnutls DH key size */
|
||||
NULL, /* gnutls priorities */
|
||||
local_hostname,
|
||||
&weechat_tcl_api_hook_connect_cb,
|
||||
function,
|
||||
|
||||
Reference in New Issue
Block a user