aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server.h')
-rw-r--r--src/mds-server.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/mds-server.h b/src/mds-server.h
index be8678e..6269e9b 100644
--- a/src/mds-server.h
+++ b/src/mds-server.h
@@ -44,7 +44,9 @@ typedef struct interception_condition
size_t header_hash;
/**
- * The interception priority
+ * The interception priority. The client should be
+ * consistent with the priority for conditions that
+ * are not mutually exclusive.
*/
int64_t priority;
@@ -110,6 +112,29 @@ typedef struct client
} client_t;
+/**
+ * A queued interception
+ */
+typedef struct queued_interception
+{
+ /**
+ * The intercepting client
+ */
+ client_t* client;
+
+ /**
+ * The interception priority
+ */
+ int64_t priority;
+
+ /**
+ * Whether the messages may get modified by the client
+ */
+ int modifying;
+
+} queued_interception_t;
+
+
/**
* Master function for slave threads