summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-upgrade.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-upgrade.c
parent9db5682186de96b1deeb48e76887df7c74e77036 (diff)
downloadweechat-7d34812f1cd091b70395808381469c6c1f5c659a.zip
core: reformat comments for functions
Diffstat (limited to 'src/plugins/relay/relay-upgrade.c')
-rw-r--r--src/plugins/relay/relay-upgrade.c26
1 files changed, 18 insertions, 8 deletions
diff --git a/src/plugins/relay/relay-upgrade.c b/src/plugins/relay/relay-upgrade.c
index 30f60c553..f18a18a90 100644
--- a/src/plugins/relay/relay-upgrade.c
+++ b/src/plugins/relay/relay-upgrade.c
@@ -34,7 +34,11 @@
/*
- * relay_upgrade_save_all_data: save relay data to upgrade file
+ * Saves relay data in relay upgrade file.
+ *
+ * Returns:
+ * 1: OK
+ * 0: error
*/
int
@@ -89,8 +93,11 @@ relay_upgrade_save_all_data (struct t_upgrade_file *upgrade_file)
}
/*
- * relay_upgrade_save: save upgrade file
- * return 1 if ok, 0 if error
+ * Saves relay upgrade file.
+ *
+ * Returns:
+ * 1: OK
+ * 0: error
*/
int
@@ -111,8 +118,8 @@ relay_upgrade_save ()
}
/*
- * relay_upgrade_set_buffer_callbacks: restore buffers callbacks (input and
- * close) for buffers created by relay plugin
+ * Restores buffer callbacks (input and close) for buffers created by relay
+ * plugin.
*/
void
@@ -148,7 +155,7 @@ relay_upgrade_set_buffer_callbacks ()
}
/*
- * relay_upgrade_read_cb: read callback for relay upgrade file
+ * Reads relay upgrade file.
*/
int
@@ -181,8 +188,11 @@ relay_upgrade_read_cb (void *data,
}
/*
- * relay_upgrade_load: load upgrade file
- * return 1 if ok, 0 if error
+ * Loads relay upgrade file.
+ *
+ * Returns:
+ * 1: OK
+ * 0: error
*/
int