summaryrefslogtreecommitdiff
path: root/Xext/xace.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-01-25 17:28:17 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-01-25 17:28:17 -0500
commit7724c30a751c653ca3e2e8a6752af27bc37de3f0 (patch)
tree254c31321b2815648acf29eed9a178c68c146486 /Xext/xace.h
parentf82329b0811469ddae5c44dcfffa38185c11a67c (diff)
XACE: Stop using fake requestVectors in favor of a simple hook call.
Diffstat (limited to 'Xext/xace.h')
-rw-r--r--Xext/xace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index fdf91d159..a8fac98e2 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -65,8 +65,8 @@ extern int XaceHook(
/* Special-cased hook functions
*/
+extern int XaceHookDispatch(ClientPtr ptr, int major);
extern void XaceHookAuditEnd(ClientPtr ptr, int result);
-extern void XaceHookAuditBegin(ClientPtr ptr);
/* Register a callback for a given hook.
*/
@@ -101,13 +101,13 @@ extern void XaceCensorImage(
#ifdef __GNUC__
#define XaceHook(args...) Success
+#define XaceHookDispatch(args...) Success
#define XaceHookAuditEnd(args...) { ; }
-#define XaceHookAuditBegin(args...) { ; }
#define XaceCensorImage(args...) { ; }
#else
#define XaceHook(...) Success
+#define XaceHookDispatch(...) Success
#define XaceHookAuditEnd(...) { ; }
-#define XaceHookAuditBegin(...) { ; }
#define XaceCensorImage(...) { ; }
#endif