From 3f3a2027394586c80459a9594638c4cc9bd89fda Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 25 Oct 2005 18:27:02 +0000 Subject: Removed old functions for removing handlers, replaced by one function, the same for all handlers --- doc/weechat_doc_es.texi | 60 +++++++++---------------------------------------- 1 file changed, 10 insertions(+), 50 deletions(-) (limited to 'doc/weechat_doc_es.texi') diff --git a/doc/weechat_doc_es.texi b/doc/weechat_doc_es.texi index 88ef1414e..2f320bb59 100644 --- a/doc/weechat_doc_es.texi +++ b/doc/weechat_doc_es.texi @@ -1783,7 +1783,7 @@ None.@* @* @item -@command{t_plugin_msg_handler *msg_handler_add (t_weechat_plugin +@command{t_plugin_handler *msg_handler_add (t_weechat_plugin *plugin, char *message, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer)}@* @* @@ -1815,47 +1815,7 @@ void *handler_pointer)}@* @* @item -@command{void msg_handler_remove (t_weechat_plugin *plugin, -t_plugin_msg_handler *msg_handler)}@* -@* -Remove an IRC message handler.@* - -@emph{Param@`etres :} -@itemize @minus -@item @option{plugin}: pointer to plugin structure -@item @option{msg_handler}: handler to remove -@end itemize -@* -@emph{Return value:}@* -@* -None.@* -@* -@emph{Example:}@* -@* -@code{plugin->msg_handler_remove (plugin, my_msg_handler);}@* -@* - -@item -@command{void msg_handler_remove_all (t_weechat_plugin *plugin)}@* -@* -Remove all IRC message handlers for a plugin.@* - -@emph{Arguments:} -@itemize @minus -@item @option{plugin}: pointer to plugin structure -@end itemize -@* -@emph{Return value:}@* -@* -None.@* -@* -@emph{Example:}@* -@* -@code{plugin->msg_handler_remove_all (plugin);}@* -@* - -@item -@command{t_plugin_cmd_handler *cmd_handler_add (t_weechat_plugin +@command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, char *arguments_description, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer)}@* @@ -1897,15 +1857,15 @@ file: %s", (arguments) ? arguments : "none");}@* @* @item -@command{void cmd_handler_remove (t_weechat_plugin *plugin, -t_plugin_cmd_handler *cmd_handler)}@* +@command{void handler_remove (t_weechat_plugin *plugin, +t_plugin_handler *handler)}@* @* -Remove a command handler.@* +Remove a handler.@* @emph{Arguments:} @itemize @minus @item @option{plugin}: pointer to plugin structure -@item @option{cmd_handler}: command handler to remove +@item @option{handler}: handler to remove @end itemize @* @emph{Return value:}@* @@ -1914,13 +1874,13 @@ None.@* @* @emph{Example:}@* @* -@code{plugin->cmd_handler_remove (plugin, my_cmd_handler);}@* +@code{plugin->handler_remove (plugin, my_handler);}@* @* @item -@command{void cmd_handler_remove_all (t_weechat_plugin *plugin)}@* +@command{void handler_remove_all (t_weechat_plugin *plugin)}@* @* -Remove all command handlers for a plugin.@* +Remove all handlers for a plugin.@* @emph{Arguments:} @itemize @minus @@ -1933,7 +1893,7 @@ None.@* @* @emph{Example :}@* @* -@code{plugin->cmd_handler_remove_all (plugin);}@* +@code{plugin->handler_remove_all (plugin);}@* @* @item -- cgit v1.2.3