diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
commit | bc190c5ac25155e0c4a53f8ea74e16082de6229d (patch) | |
tree | 4d1e1f509e3b9f506dcdea8191a18ce2e1835d4e /src/mds-server/mds-server.h | |
parent | m + release all resources before re-execing (diff) | |
download | mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.gz mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.bz2 mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.xz |
a much of multicasting stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/mds-server.h | 13 |
1 files changed, 11 insertions, 2 deletions
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 <stddef.h> @@ -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 |