summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/relay-raw.c')
-rw-r--r--src/plugins/relay/relay-raw.c28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/plugins/relay/relay-raw.c b/src/plugins/relay/relay-raw.c
index 2b186c616..b689d7c31 100644
--- a/src/plugins/relay/relay-raw.c
+++ b/src/plugins/relay/relay-raw.c
@@ -43,7 +43,7 @@ struct t_relay_raw_message *last_relay_raw_message = NULL;
/*
- * relay_raw_message_print: print a relay raw message
+ * Prints a relay raw message.
*/
void
@@ -60,7 +60,7 @@ relay_raw_message_print (struct t_relay_raw_message *raw_message)
}
/*
- * relay_raw_open: open Relay raw buffer
+ * Opens relay raw buffer.
*/
void
@@ -112,7 +112,7 @@ relay_raw_open (int switch_to_buffer)
}
/*
- * relay_raw_message_free: free a raw message and remove it from list
+ * Frees a raw message and remove it from list.
*/
void
@@ -148,7 +148,7 @@ relay_raw_message_free (struct t_relay_raw_message *raw_message)
}
/*
- * relay_raw_message_free_all: free all raw messages
+ * Frees all raw messages.
*/
void
@@ -161,8 +161,7 @@ relay_raw_message_free_all ()
}
/*
- * relay_raw_message_remove_old: remove old raw messages if limit has been
- * reached
+ * Removes old raw messages if limit has been reached.
*/
void
@@ -178,7 +177,9 @@ relay_raw_message_remove_old ()
}
/*
- * relay_raw_message_add_to_list: add new message to list
+ * Adds a new raw message to list.
+ *
+ * Returns pointer to new raw message, NULL if error.
*/
struct t_relay_raw_message *
@@ -215,7 +216,9 @@ relay_raw_message_add_to_list (time_t date, const char *prefix,
}
/*
- * relay_raw_message_add: add new message to list
+ * Adds a new raw message to list.
+ *
+ * Returns pointer to new raw message, NULL if error.
*/
struct t_relay_raw_message *
@@ -312,7 +315,7 @@ relay_raw_message_add (struct t_relay_client *client, int flags,
}
/*
- * relay_raw_print: print a message on Relay raw buffer
+ * Prints a message on relay raw buffer.
*/
void
@@ -342,8 +345,11 @@ relay_raw_print (struct t_relay_client *client, int flags,
}
/*
- * relay_raw_add_to_infolist: add a raw message in an infolist
- * return 1 if ok, 0 if error
+ * Adds a raw message in an infolist.
+ *
+ * Returns:
+ * 1: OK
+ * 0: error
*/
int