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

core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"

The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still
recognized by WeeChat, to stay compatible with any extension/script calling
it (or referencing it in the documentation).

It is deprecated and will be removed in a future release.
This commit is contained in:
Sébastien Helleu
2020-12-19 17:07:52 +01:00
parent 1526f58d7a
commit 7e2396ade8
42 changed files with 502 additions and 169 deletions
+5
View File
@@ -255,6 +255,11 @@ extern int gui_buffer_search_notify (const char *notify);
extern const char *gui_buffer_get_plugin_name (struct t_gui_buffer *buffer);
extern const char *gui_buffer_get_short_name (struct t_gui_buffer *buffer);
extern void gui_buffer_build_full_name (struct t_gui_buffer *buffer);
extern void gui_buffer_local_var_add (struct t_gui_buffer *buffer,
const char *name,
const char *value);
extern void gui_buffer_local_var_remove (struct t_gui_buffer *buffer,
const char *name);
extern void gui_buffer_notify_set_all ();
extern void gui_buffer_input_buffer_init (struct t_gui_buffer *buffer);
extern int gui_buffer_is_reserved_name (const char *name);