diff options
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 |