diff options
author | Andrew Eikum <aeikum@codeweavers.com> | 2015-06-04 13:23:19 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-06-10 14:14:25 +1000 |
commit | 5dc2a9aae46352f1f35d3ba122da04727789a15d (patch) | |
tree | 115efbb4bc00c121c84ff64c8f31f0fe0bced8c7 /Xext/xace.h | |
parent | fa12f2c150b2f50de9dac4a2b09265f13af353af (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.h | 3 |
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); |