summaryrefslogtreecommitdiff
path: root/security.h
diff options
context:
space:
mode:
Diffstat (limited to 'security.h')
-rw-r--r--security.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/security.h b/security.h
index 2813e5e..1f6019c 100644
--- a/security.h
+++ b/security.h
@@ -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