aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-server.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mds-server.h b/src/mds-server.h
index c8a4ac2..3c82c42 100644
--- a/src/mds-server.h
+++ b/src/mds-server.h
@@ -128,6 +128,17 @@ void* slave_loop(void* data);
void message_received(client_t* client);
/**
+ * Add an interception condition for a client
+ *
+ * @param client The client
+ * @param condition The header, optionally with value, to look for, or empty (not `NULL`) for all messages
+ * @param priority Interception priority
+ * @param modifying Whether the client may modify the messages
+ * @param stop Whether the condition should be removed rather than added
+ */
+void add_intercept_condition(client_t* client, char* condition, int64_t priority, int modifying, int stop);
+
+/**
* Exec into the mdsinitrc script
*
* @param args The arguments to the child process