From b869a145ac21fa8145454391dd555ed3fe91848a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 23 Jul 2012 19:03:08 +0200 Subject: doc: add missing argument "pos_option_name" in function "config_search_with_string" (plugin API reference) --- doc/it/weechat_plugin_api.it.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/it/weechat_plugin_api.it.txt') diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 7e49e13e9..0a7c56a5b 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -4371,7 +4371,8 @@ Prototipo: void weechat_config_search_with_string (const char *option_name, struct t_config_file **config_file, struct t_config_section **section, - struct t_config_option **option); + struct t_config_option **option, + char **pos_option_name); ---------------------------------------- Argomenti: @@ -4383,6 +4384,9 @@ Argomenti: dell'opzione, se viene trovata * 'option': puntatore al puntatore dell'opzione, sarĂ  impostato al puntatore di un'opzione, se viene trovata +// TRANSLATION MISSING +* 'pos_option_name': pointer to a string pointer, will be set to pointer to + name of option, if found Esempio in C: @@ -4391,11 +4395,13 @@ Esempio in C: struct t_config_file *ptr_config_file; struct t_config_section *ptr_section; struct t_config_option *ptr_option; +char *option_name; weechat_config_search_with_string ("file.section.option", &ptr_config_file, &ptr_section, - &ptr_option); + &ptr_option, + &option_name); if (ptr_option) { /* opzione trovata */ -- cgit v1.2.3