diff options
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/autogen/user/weechat_options.txt | 5 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 7 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.txt | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/doc/it/autogen/user/weechat_options.txt b/doc/it/autogen/user/weechat_options.txt index 9664bea49..2e58e0046 100644 --- a/doc/it/autogen/user/weechat_options.txt +++ b/doc/it/autogen/user/weechat_options.txt @@ -723,6 +723,11 @@ ** tipo: stringa ** valori: qualsiasi stringa (valore predefinito: `"%a, %d %b %Y %T"`) +* [[option_weechat.network.connection_timeout]] *weechat.network.connection_timeout* +** descrizione: `timeout (in seconds) for connection to a remote host (made in a child process)` +** tipo: intero +** valori: 1 .. 2147483647 (valore predefinito: `60`) + * [[option_weechat.network.gnutls_ca_file]] *weechat.network.gnutls_ca_file* ** descrizione: `file contenente le autorità certificative ("%h" sarà sostituito dalla home di WeeChat, "~/.weechat come predefinita)` ** tipo: stringa diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 8458b8856..54f1f299e 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -7114,6 +7114,8 @@ Argomenti: *** 'WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR': errore inizializzazione GnuTLS *** 'WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR': errore di handshake GnuTLS *** 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR': memoria insufficiente +// TRANSLATION MISSING +*** 'WEECHAT_HOOK_CONNECT_TIMEOUT': timeout ** 'gnutls_rc': valore del risultato di 'gnutls_handshake()' ** 'const char *error': valore del risultato di 'gnutls_strerror(gnutls_rc)' ** 'const char *ip_address': indirizzo IP trovato @@ -7163,6 +7165,9 @@ my_connect_cb (void *data, int status, int gnutls_rc, const char *error, case WEECHAT_HOOK_CONNECT_MEMORY_ERROR: /* ... */ break; + case WEECHAT_HOOK_CONNECT_TIMEOUT: + /* ... */ + break; } return WEECHAT_RC_OK; } @@ -7203,6 +7208,8 @@ def my_connect_cb(data, status, gnutls_rc, error, ip_address): # ... elif status == WEECHAT_HOOK_CONNECT_MEMORY_ERROR: # ... + elif status == WEECHAT_HOOK_CONNECT_TIMEOUT: + # ... return weechat.WEECHAT_RC_OK hook = weechat.hook_connect("", "my.server.org", 1234, sock, 0, "", diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt index efec57218..416c29a34 100644 --- a/doc/it/weechat_scripting.it.txt +++ b/doc/it/weechat_scripting.it.txt @@ -393,7 +393,7 @@ Elenco di costanti nelle API per gli script: WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED, WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR, - WEECHAT_HOOK_CONNECT_MEMORY_ERROR + WEECHAT_HOOK_CONNECT_MEMORY_ERROR, WEECHAT_HOOK_CONNECT_TIMEOUT | hook su segnale | WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER |======================================== |