aboutsummaryrefslogtreecommitdiffstats
path: root/src/idle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/idle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/idle.h b/src/idle.h
index 5079f09db..d65575ebe 100644
--- a/src/idle.h
+++ b/src/idle.h
@@ -49,6 +49,18 @@ enum {
};
/**
+ * Initialize the mutex
+ */
+void
+idle_init(void);
+
+/**
+ * Destroy the mutex
+ */
+void
+idle_deinit(void);
+
+/**
* Adds idle flag (with bitwise "or") and queues notifications to all
* clients.
*/