From bc190c5ac25155e0c4a53f8ea74e16082de6229d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 11 May 2014 07:02:16 +0200 Subject: a much of multicasting stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/mds-server.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/mds-server/mds-server.h') diff --git a/src/mds-server/mds-server.h b/src/mds-server/mds-server.h index b2dafd4..4dd3c4a 100644 --- a/src/mds-server/mds-server.h +++ b/src/mds-server/mds-server.h @@ -20,6 +20,7 @@ #include "client.h" +#include "multicast.h" #include @@ -53,12 +54,20 @@ void message_received(client_t* client); void add_intercept_condition(client_t* client, char* condition, int64_t priority, int modifying, int stop); /** - * Multicast a message + * Queue a message for multicasting * * @param message The message * @param length The length of the message + * @param sender The original sender of the message + */ +void queue_message_multicast(char* message, size_t length, client_t* sender); + +/** + * Multicast a message + * + * @param multicast The multicast message */ -void multicast_message(char* message, size_t length); +void multicast_message(multicast_t* multicast); /** * Exec into the mdsinitrc script -- cgit v1.2.3-70-g09d2