diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-17 12:08:42 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-17 12:08:42 +0100 |
commit | d6cddc6dd353858eaa4496400313680aa5c12000 (patch) | |
tree | b50074531816829a4d92322e6e63944133493332 /doc/en | |
parent | 7136a2826cde112f0240552ca4e6ff34c709ae4a (diff) | |
download | weechat-d6cddc6dd353858eaa4496400313680aa5c12000.zip |
doc: add return codes for URL transfer in hook_process (plugin API reference)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 987e4e794..a61157f24 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -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) |