1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

doc: add column for min WeeChat version in function hook_set (plugin API reference)

This commit is contained in:
Sébastien Helleu
2021-07-03 22:00:42 +02:00
parent c127d1693a
commit 503a3cb755
5 changed files with 40 additions and 60 deletions
+9 -12
View File
@@ -12238,27 +12238,24 @@ Arguments:
Properties:
[width="100%",cols="^2,2,2,5",options="header"]
[width="100%",cols="^1,^1,2,2,5",options="header"]
|===
| Name | Hook type | Value | Description
| Name | Min WeeChat | Hook type | Value | Description
| subplugin | any type | any string |
| subplugin | | any type |
any string |
Name of sub plugin (commonly script name, which is displayed in
`/help command` for a hook of type _command_).
| stdin +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | any string |
| stdin | 0.4.3 | _process_, _process_hashtable_ |
any string |
Send data on standard input (_stdin_) of child process.
| stdin_close +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | (not used) |
| stdin_close | 0.4.3 | _process_, _process_hashtable_ |
(not used) |
Close pipe used to send data on standard input (_stdin_) of child process.
| signal +
_(WeeChat ≥ 1.0)_ |
_process_, _process_hashtable_ |
| signal | 1.0 | _process_, _process_hashtable_ |
signal number or one of these names: `hup`, `int`, `quit`, `kill`, `term`,
`usr1`, `usr2` |
Send a signal to the child process.
+7 -12
View File
@@ -12513,28 +12513,23 @@ Paramètres :
Propriétés :
[width="100%",cols="^2,2,2,5",options="header"]
[width="100%",cols="^1,^1,2,2,5",options="header"]
|===
| Nom | Type de hook | Valeur | Description
| Nom | WeeChat mini | Type de hook | Valeur | Description
| subplugin | tout type | toute chaîne |
| subplugin | | tout type |
toute chaîne |
Nom de la sous-extension (couramment un nom de script, qui est affiché dans
`/help commande` pour un hook de type _command_).
| stdin +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | toute chaîne |
| stdin | 0.4.3 | _process_, _process_hashtable_ | toute chaîne |
Envoyer les données sur l'entrée standard (_stdin_) du processus fils.
| stdin_close +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | (non utilisée) |
| stdin_close | 0.4.3 | _process_, _process_hashtable_ | (non utilisée) |
Fermer le tuyau utilisé pour envoyer les données sur l'entrée standard
(_stdin_) du processus fils.
| signal +
_(WeeChat ≥ 1.0)_ |
_process_, _process_hashtable_ |
| signal | 1.0 | _process_, _process_hashtable_ |
numéro de signal ou un de ces noms : `hup`, `int`, `quit`, `kill`, `term`,
`usr1`, `usr2` |
Envoyer un signal au proces.sus fils
+8 -12
View File
@@ -12750,32 +12750,28 @@ Argomenti:
Properties:
// TRANSLATION MISSING
[width="100%",cols="^2,2,2,5",options="header"]
[width="100%",cols="^1,^1,2,2,5",options="header"]
|===
| Nome | Hook type | Valore | Descrizione
// TRANSLATION MISSING
| Nome | Min WeeChat | Hook type | Valore | Descrizione
// TRANSLATION MISSING
| subplugin | any type | qualsiasi stringa |
| subplugin | | any type |
qualsiasi stringa |
// TRANSLATION MISSING
Name of sub plugin (commonly script name, which is displayed in
`/help command` for a hook of type _command_).
| stdin +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | qualsiasi stringa |
| stdin | 0.4.3 | _process_, _process_hashtable_ | qualsiasi stringa |
// TRANSLATION MISSING
Send data on standard input (_stdin_) of child process.
| stdin_close +
_(WeeChat ≥ 0.4.3)_ |
// TRANSLATION MISSING
_process_, _process_hashtable_ | (not used) |
| stdin_close | 0.4.3 | _process_, _process_hashtable_ | (not used) |
// TRANSLATION MISSING
Close pipe used to send data on standard input (_stdin_) of child process.
| signal +
_(WeeChat ≥ 1.0)_ |
_process_, _process_hashtable_ |
| signal | 1.0 | _process_, _process_hashtable_ |
// TRANSLATION MISSING
signal number or one of these names: `hup`, `int`, `quit`, `kill`, `term`,
`usr1`, `usr2` |
+8 -12
View File
@@ -12285,27 +12285,23 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
プロパティ:
[width="100%",cols="^2,2,2,5",options="header"]
[width="100%",cols="^1,^1,2,2,5",options="header"]
|===
| 名前 | フック型 | 値 | 説明
// TRANSLATION MISSING
| 名前 | Min WeeChat | フック型 | 値 | 説明
| subplugin | 任意の型 | 任意の文字列 |
| subplugin | | 任意の |
任意の文字列 |
サブプラグインの名前 (通常は `/help command` で _command_
をタイプした時のフックで表示されるスクリプト名)
| stdin +
_(WeeChat バージョン 0.4.3 以上で利用可)_ |
_process_、_process_hashtable_ | 任意の文字列 |
| stdin | 0.4.3 | _process_、_process_hashtable_ | 任意の文字列 |
子プロセスの標準入力 (_stdin_) にデータを送信
| stdin_close +
_(WeeChat バージョン 0.4.3 以上で利用可)_ |
_process_、_process_hashtable_ | (非使用) |
| stdin_close | 0.4.3 | _process_、_process_hashtable_ | (非使用) |
子プロセスの標準入力 (_stdin_) にデータを送信するパイプを閉じる
| signal +
_(WeeChat バージョン 1.0 以上で利用可)_ |
_process_、_process_hashtable_ |
| signal | 1.0 | _process_、_process_hashtable_ |
シグナル番号または以下の名前から 1 つ:
`hup`、`int`、`quit`、`kill`、`term`、`usr1`、`usr2` |
子プロセスにシグナルを送信
+8 -12
View File
@@ -11808,27 +11808,23 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
Особине:
[width="100%", cols="^2,2,2,5", options="header"]
[width="100%", cols="^1,^1,2,2,5", options="header"]
|===
| Име | Тип куке | Вредност | Опис
// TRANSLATION MISSING
| Име | Min WeeChat | Тип куке | Вредност | Опис
| subplugin | било који тип | било који стринг |
| subplugin | | било који тип |
било који стринг |
Име под додатка (обично је то име скрипте које се приказује у
`/help команда` за куку типа _command_).
| stdin +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | било који стринг |
| stdin | 0.4.3 | _process_, _process_hashtable_ | било који стринг |
Шаље податке на стандардни улаз (_stdin_) дете процеса.
| stdin_close +
_(WeeChat ≥ 0.4.3)_ |
_process_, _process_hashtable_ | (не користи се) |
| stdin_close | 0.4.3 | _process_, _process_hashtable_ | (не користи се) |
Затвара пајп који се користи за слање података на стандардни улаз (_stdin_) дете процеса.
| signal +
_(WeeChat ≥ 1.0)_ |
_process_, _process_hashtable_ |
| signal | 1.0 | _process_, _process_hashtable_ |
број сигнала или једно од следећих имена: `hup`, `int`, `quit`, `kill`, `term`,
`usr1`, `usr2` |
Шаље сигнал дете процесу.