mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 11:45:43 +02:00
core: add function config_file_option_set_default
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -286,6 +286,9 @@ extern int config_file_option_set (struct t_config_option *option,
|
||||
const char *value, int run_callback);
|
||||
extern int config_file_option_set_null (struct t_config_option *option,
|
||||
int run_callback);
|
||||
extern int config_file_option_set_default (struct t_config_option *option,
|
||||
const char *value,
|
||||
int run_callback);
|
||||
extern int config_file_option_toggle (struct t_config_option *option,
|
||||
const char **values, int num_values,
|
||||
int run_callback);
|
||||
|
||||
+321
-315
File diff suppressed because it is too large
Load Diff
@@ -127,11 +127,23 @@ struct t_config_look_word_char_item
|
||||
};
|
||||
|
||||
extern struct t_config_file *weechat_config_file;
|
||||
|
||||
extern struct t_config_section *weechat_config_section_debug;
|
||||
extern struct t_config_section *weechat_config_section_startup;
|
||||
extern struct t_config_section *weechat_config_section_look;
|
||||
extern struct t_config_section *weechat_config_section_palette;
|
||||
extern struct t_config_section *weechat_config_section_color;
|
||||
extern struct t_config_section *weechat_config_section_completion;
|
||||
extern struct t_config_section *weechat_config_section_history;
|
||||
extern struct t_config_section *weechat_config_section_network;
|
||||
extern struct t_config_section *weechat_config_section_proxy;
|
||||
extern struct t_config_section *weechat_config_section_plugin;
|
||||
extern struct t_config_section *weechat_config_section_signal;
|
||||
extern struct t_config_section *weechat_config_section_bar;
|
||||
extern struct t_config_section *weechat_config_section_custom_bar_item;
|
||||
extern struct t_config_section *weechat_config_section_layout;
|
||||
extern struct t_config_section *weechat_config_section_notify;
|
||||
extern struct t_config_section *weechat_config_section_filter;
|
||||
extern struct t_config_section *weechat_config_section_key[];
|
||||
|
||||
extern struct t_config_option *config_startup_command_after_plugins;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user