summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-13 18:51:44 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-13 18:51:44 +0100
commit7d34812f1cd091b70395808381469c6c1f5c659a (patch)
tree8dd82177eaad95dc216bf1b68926b8398440a198 /src/plugins/relay/relay.c
parent9db5682186de96b1deeb48e76887df7c74e77036 (diff)
downloadweechat-7d34812f1cd091b70395808381469c6c1f5c659a.zip
core: reformat comments for functions
Diffstat (limited to 'src/plugins/relay/relay.c')
-rw-r--r--src/plugins/relay/relay.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/plugins/relay/relay.c b/src/plugins/relay/relay.c
index a60be6d04..2d73ddc5a 100644
--- a/src/plugins/relay/relay.c
+++ b/src/plugins/relay/relay.c
@@ -56,7 +56,10 @@ struct t_hook *relay_hook_timer = NULL;
/*
- * relay_protocol_search: search a protocol by name
+ * Searches for a protocol.
+ *
+ * Returns index of protocol in enum t_relay_protocol, -1 if protocol is not
+ * found.
*/
int
@@ -75,7 +78,7 @@ relay_protocol_search (const char *name)
}
/*
- * relay_signal_upgrade_cb: callback for "upgrade" signal
+ * Callback for signal "upgrade".
*/
int
@@ -144,7 +147,7 @@ relay_signal_upgrade_cb (void *data, const char *signal, const char *type_data,
}
/*
- * relay_debug_dump_cb: callback for "debug_dump" signal
+ * Callback for signal "debug_dump".
*/
int
@@ -175,7 +178,7 @@ relay_debug_dump_cb (void *data, const char *signal, const char *type_data,
}
/*
- * weechat_plugin_init: initialize relay plugin
+ * Initializes relay plugin.
*/
int
@@ -227,7 +230,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
}
/*
- * weechat_plugin_end: end relay plugin
+ * Ends relay plugin.
*/
int