1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc/api: add link to hook_url in hook_process_hashtable for Curl options

This commit is contained in:
Sébastien Helleu
2023-09-16 10:28:08 +02:00
parent f0e4494205
commit 36ab6c3bc7
5 changed files with 8 additions and 80 deletions
+1 -16
View File
@@ -10276,22 +10276,7 @@ available:
_/dev/null_.
|===
For command "url:...", following options are available (see
`+man curl_easy_setopt+` for a description of each option):
include::{autogendir}/autogen_api_url_options.en.adoc[tag=url_options]
[NOTE]
^(1)^ For options with type "mask", format is: "value1+value2+value3";
for options with type "list", the list items must be separated by a newline
(`\n`). +
^(2)^ When constants are available they must be used as value for option.
For URL, two extra options (strings) are allowed for input/output file:
* _file_in_: file to read and send with URLs (post file)
* _file_out_: write downloaded URL/file in this file (instead of standard
output)
For command "url:...", see available options in function <<_hook_url,hook_url>>.
Return value:
+2 -19
View File
@@ -10470,25 +10470,8 @@ sont disponibles :
_/dev/null_.
|===
Pour la commande "url:...", les options suivantes sont disponibles (voir
`+man curl_easy_setopt+` pour une description de chaque option) :
include::{autogendir}/autogen_api_url_options.fr.adoc[tag=url_options]
[NOTE]
^(1)^ Pour les options avec le type "mask", le format est :
"value1+value2+value3" ;
pour les options avec le type "list", les éléments de la liste doivent être
séparés par un retour à la ligne (`\n`). +
^(2)^ Lorsque des constantes sont disponibles, elles doivent être utilisées
comme valeur pour l'option.
Pour l'URL, deux options supplémentaires (chaînes) sont autorisées, pour le
fichier en entrée/sortie :
* _file_in_ : fichier à lire pour envoyer avec l'URL (envoi de fichier "post")
* _file_out_ : écrire l'URL/fichier dans ce fichier (au lieu de la sortie
standard)
Pour la commande "url:...", voir les options disponibles dans la fonction
<<_hook_url,hook_url>>.
Valeur de retour :
+1 -17
View File
@@ -10654,24 +10654,8 @@ available:
_/dev/null_.
|===
Per il comando "url:..." sono disponibili le seguenti opzioni (consultare
`+man curl_easy_setopt+` per la descrizione di ogni opzione):
include::{autogendir}/autogen_api_url_options.it.adoc[tag=url_options]
// TRANSLATION MISSING
[NOTE]
^(1)^ Per le opzioni con il tipo "mask" il formato è: "value1+value2+value3";
for options with type "list", the list items must be separated by a newline
(`\n`). +
^(2)^ Quando sono disponibili le costanti, esse vanno usate come valore per
l'opzione.
Per un URL, sono consentite due opzioni aggiuntive (stringhe) per il file in
input/output:
* _file_in_: file da leggere e inviare con gli URL (invio del file "post")
* _file_out_: scrive URL scaricato/file in questo file (invece dello standard output)
For command "url:...", see available options in function <<_hook_url,hook_url>>.
Valore restituito:
+2 -16
View File
@@ -10387,22 +10387,8 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
_/dev/null_ にリダイレクトする
|===
"url:..." 型のコマンドでは、以下のコマンドを使うことができます
(それぞれのオプションについては `+man curl_easy_setopt+` を参照):
include::{autogendir}/autogen_api_url_options.ja.adoc[tag=url_options]
[NOTE]
^(1)^ "mask" タイプのオプションでは、フォーマットは "value1+value2+value3" です。
"list" タイプのオプションでは、リスト要素を改行で区切ってください。
(`\n`). +
^(2)^ 定数が利用可能な場合、定数は必ずオプションの値に含めてください。
URL では、入力/出力ファイル用に 2 つのオプション (文字列) を使うことができます:
* _file_in_: 読み込んで URL に送信するファイル (ファイルを送信)
* _file_out_: ダウンロードした URL/ファイルをこのファイルに書き込む
(標準出力を使わない)
// TRANSLATION MISSING
For command "url:...", see available options in function <<_hook_url,hook_url>>.
戻り値:
+2 -12
View File
@@ -9955,18 +9955,8 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
_/dev/null_.
|===
За команду „url:...” су доступне следеће опције (за опис сваке опције погледајте `+man curl_easy_setopt+`):
include::{autogendir}/autogen_api_url_options.sr.adoc[tag=url_options]
[NOTE]
^(1)^ За опције типа „mask”, формат је: „вредност1+вредност2+вредност3”; за опције типа „list”, ставке листе морају да се раздвоје преломом линије (`\n`). +
^(2)^ Ако су доступне константе, оне морају да се користе као вредност опције.
За URL су дозвољене две додатне опције (стрингови) за улазни/излазни фајл:
* _file_in_: фајл који се чита и шаље URL адресама (post фајл)
* _file_out_: преузети URL/фајл се уписује у овај фајл (уместо на стандардни излаз)
// TRANSLATION MISSING
For command "url:...", see available options in function <<_hook_url,hook_url>>.
Повратна вредност: