diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:43 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:43 +0000 |
commit | 343e78e15048e6a25791449bfc7566c07ccddf28 (patch) | |
tree | 320aaabfd01f23459cceab375ab853f0b6a7467a /security.h | |
parent | 9a41c9c6452753ac1911a585e59982e8e5186c6b (diff) | |
download | xorg-proto-xextproto-343e78e15048e6a25791449bfc7566c07ccddf28.tar.gz |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'security.h')
-rw-r--r-- | security.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -24,6 +24,7 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/include/extensions/security.h,v 1.4 2002/11/08 00:46:27 alanh Exp $ */ #ifndef _SECURITY_H #define _SECURITY_H @@ -109,6 +110,8 @@ typedef struct { #include "input.h" /* for DeviceIntPtr */ #include "property.h" /* for PropertyPtr */ +#include "pixmap.h" /* for DrawablePtr */ +#include "resource.h" /* for RESTYPE */ /* resource type to pass in LookupIDByType for authorizations */ extern RESTYPE SecurityAuthorizationResType; @@ -154,6 +157,12 @@ extern Bool SecurityCheckDeviceAccess(ClientPtr client, DeviceIntPtr dev, extern void SecurityAudit(char *format, ...); +#ifdef LBX +extern Bool SecuritySameLevel(ClientPtr client, XID authId); +#endif + +extern int XSecurityOptions(int argc, char **argv, int i); + /* Give this value or higher to the -audit option to get security messages */ #define SECURITY_AUDIT_LEVEL 4 |