diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2006-08-25 18:17:01 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2006-08-25 18:17:01 -0400 |
commit | 13c6713c82763a85c725c998b37ad02156d803ba (patch) | |
tree | c8a3c6c08607acda2d6178d3d8b3ce50b680e277 /Xext/xace.c | |
parent | 52ba722e4c89c052609b4fc62e965d92778aa2dd (diff) |
Add four new XACE hooks: auditing, key event notification, window init
Diffstat (limited to 'Xext/xace.c')
-rw-r--r-- | Xext/xace.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Xext/xace.c b/Xext/xace.c index 29853b38b..44aaa421d 100644 --- a/Xext/xace.c +++ b/Xext/xace.c @@ -169,6 +169,39 @@ int XaceHook(int hook, ...) calldata = &rec; break; } + case XACE_KEY_AVAIL: { + XaceKeyAvailRec rec = { + va_arg(ap, xEventPtr), + va_arg(ap, DeviceIntPtr), + va_arg(ap, int) + }; + calldata = &rec; + break; + } + case XACE_WINDOW_INIT: { + XaceWindowRec rec = { + va_arg(ap, ClientPtr), + va_arg(ap, WindowPtr) + }; + calldata = &rec; + break; + } + case XACE_AUDIT_BEGIN: { + XaceAuditRec rec = { + va_arg(ap, ClientPtr), + 0 + }; + calldata = &rec; + break; + } + case XACE_AUDIT_END: { + XaceAuditRec rec = { + va_arg(ap, ClientPtr), + va_arg(ap, int) + }; + calldata = &rec; + break; + } default: { va_end(ap); return 0; /* unimplemented hook number */ |