doc: add return codes for URL transfer in hook_process (plugin API reference)
This commit is contained in:
parent
7136a2826c
commit
d6cddc6dd3
@ -6715,7 +6715,12 @@ Arguments:
|
||||
** 'void *data': pointer
|
||||
** 'const char *command': command executed by child
|
||||
** 'int return_code': return code:
|
||||
*** '>= 0': child command return code
|
||||
*** '>= 0': child return code for a command, and for URL possible values are:
|
||||
**** '0': transfer ok
|
||||
**** '1': invalid URL
|
||||
**** '2': transfer error
|
||||
**** '3': not enough memory
|
||||
**** '4': error with a file
|
||||
*** '< 0': 'WEECHAT_HOOK_PROCESS_RUNNING' (data available, but child still
|
||||
running) or 'WEECHAT_HOOK_PROCESS_ERROR' (error when launching command)
|
||||
** 'out': standard output of command (stdout)
|
||||
|
@ -6804,7 +6804,13 @@ Paramètres :
|
||||
** 'void *data' : pointeur
|
||||
** 'const char *command' : commande exécutée par le fils
|
||||
** 'int return_code' : code retour :
|
||||
*** '>= 0' : code retour du fils
|
||||
*** '>= 0': code retour du fils pour une commande, et pour l'URL, les valeurs
|
||||
possibles sont :
|
||||
**** '0': transfert ok
|
||||
**** '1': URL invalide
|
||||
**** '2': erreur de transfert
|
||||
**** '3': pas assez de mémoire
|
||||
**** '4': erreur avec un fichier
|
||||
*** '< 0' : 'WEECHAT_HOOK_PROCESS_RUNNING' (données disponibles, mais le
|
||||
fils tourne toujours) ou 'WEECHAT_HOOK_PROCESS_ERROR' (erreur en lançant
|
||||
la commande)
|
||||
|
@ -6741,7 +6741,13 @@ Argomenti:
|
||||
** 'void *data': puntatore
|
||||
** 'const char *command': comando eseguito dal processo figlio
|
||||
** 'int return_code': codice restituito:
|
||||
*** '>= 0': codice restituito dal comando figlio
|
||||
// TRANSLATION MISSING
|
||||
*** '>= 0': child return code for a command, and for URL possible values are:
|
||||
**** '0': transfer ok
|
||||
**** '1': invalid URL
|
||||
**** '2': transfer error
|
||||
**** '3': not enough memory
|
||||
**** '4': error with a file
|
||||
*** '< 0': 'WEECHAT_HOOK_PROCESS_RUNNING' (dati disponibili, ma figlio
|
||||
ancora in esecuzione) o 'WEECHAT_HOOK_PROCESS_ERROR' (errore nella
|
||||
esecuzione del comando)
|
||||
|
Loading…
x
Reference in New Issue
Block a user