aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/client.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-server/client.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h
index 6b98ade..da5d14f 100644
--- a/src/mds-server/client.h
+++ b/src/mds-server/client.h
@@ -20,6 +20,7 @@
#include "interception_condition.h"
+#include "multicast.h"
#include <libmdsserver/mds-message.h>
@@ -52,7 +53,7 @@ typedef struct client
/**
* Message read buffer for the client
*/
- mds_message_t message;
+ struct mds_message message;
/**
* The read thread for the client
@@ -79,7 +80,7 @@ typedef struct client
* The messages interception conditions conditions
* for the client
*/
- interception_condition_t* interception_conditions;
+ struct interception_condition* interception_conditions;
/**
* The number of interception conditions
@@ -87,6 +88,16 @@ typedef struct client
size_t interception_conditions_count;
/**
+ * Pending multicast messages
+ */
+ struct multicast* multicasts;
+
+ /**
+ * The number of pending multicast messages
+ */
+ size_t multicasts_count;
+
+ /**
* Messages pending to be sent (concatenated)
*/
char* send_pending;