int weechat_lua_timer_action_cb (void *data, int remaining_calls) { /* make C compiler happy */ (void) remaining_calls; if (data) { if (data == &lua_action_install_list) { plugin_script_action_install (weechat_lua_plugin, lua_scripts, &weechat_lua_unload, &weechat_lua_load, &lua_quiet, &lua_action_install_list); } else if (data == &lua_action_remove_list) { plugin_script_action_remove (weechat_lua_plugin, lua_scripts, &weechat_lua_unload, &lua_quiet, &lua_action_remove_list); } } return WEECHAT_RC_OK; }
int dogechat_js_timer_action_cb (void *data, int remaining_calls) { /* make C++ compiler happy */ (void) remaining_calls; if (data) { if (data == &js_action_install_list) { plugin_script_action_install (dogechat_js_plugin, js_scripts, &dogechat_js_unload, &dogechat_js_load, &js_quiet, &js_action_install_list); } else if (data == &js_action_remove_list) { plugin_script_action_remove (dogechat_js_plugin, js_scripts, &dogechat_js_unload, &js_quiet, &js_action_remove_list); } else if (data == &js_action_autoload_list) { plugin_script_action_autoload (dogechat_js_plugin, &js_quiet, &js_action_autoload_list); } } return DOGECHAT_RC_OK; }
int weechat_js_timer_action_cb (const void *pointer, void *data, int remaining_calls) { /* make C++ compiler happy */ (void) data; (void) remaining_calls; if (pointer) { if (pointer == &js_action_install_list) { plugin_script_action_install (weechat_js_plugin, js_scripts, &weechat_js_unload, &weechat_js_load, &js_quiet, &js_action_install_list); } else if (pointer == &js_action_remove_list) { plugin_script_action_remove (weechat_js_plugin, js_scripts, &weechat_js_unload, &js_quiet, &js_action_remove_list); } else if (pointer == &js_action_autoload_list) { plugin_script_action_autoload (weechat_js_plugin, &js_quiet, &js_action_autoload_list); } } return WEECHAT_RC_OK; }