summaryrefslogtreecommitdiff
path: root/Xext/xace.h
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2015-06-04 13:23:19 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2015-06-10 14:14:25 +1000
commit5dc2a9aae46352f1f35d3ba122da04727789a15d (patch)
tree115efbb4bc00c121c84ff64c8f31f0fe0bced8c7 /Xext/xace.h
parentfa12f2c150b2f50de9dac4a2b09265f13af353af (diff)
xace: Add XaceHookIsSet helper function
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext/xace.h')
-rw-r--r--Xext/xace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index 5e6cb0437..3303f76bc 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -65,6 +65,9 @@ extern _X_EXPORT int XaceHook(int /*hook */ ,
... /*appropriate args for hook */
);
+/* determine whether any callbacks are present for the XACE hook */
+extern _X_EXPORT int XaceHookIsSet(int hook);
+
/* Special-cased hook functions
*/
extern _X_EXPORT int XaceHookDispatch(ClientPtr ptr, int major);