diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-03-22 17:23:26 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-03-22 17:23:26 -0400 |
commit | c9fb8a35332d101897607d8f06ed5a6512eac7cf (patch) | |
tree | 6ec3da9ac27c96927313d14dee286216490eb016 /include/resource.h | |
parent | 1b766ffc0647d5e9a9bf6938d33548d977b5535e (diff) |
dix: move access codes to separate header file, add DixCreateAccess.
Diffstat (limited to 'include/resource.h')
-rw-r--r-- | include/resource.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/resource.h b/include/resource.h index 9949dd2fc..f7fa5f188 100644 --- a/include/resource.h +++ b/include/resource.h @@ -48,6 +48,7 @@ SOFTWARE. #ifndef RESOURCE_H #define RESOURCE_H 1 #include "misc.h" +#include "dixaccess.h" /***************************************************************** * STUFF FOR RESOURCES @@ -225,20 +226,6 @@ extern pointer LookupClientResourceComplex( FindComplexResType func, pointer cdata); -/* These are the access modes that can be passed in the last parameter - * to SecurityLookupIDByType/Class. The Security extension doesn't - * currently make much use of these; they're mainly provided as an - * example of what you might need for discretionary access control. - * You can or these values together to indicate multiple modes - * simultaneously. - */ - -#define DixUnknownAccess 0 /* don't know intentions */ -#define DixReadAccess (1<<0) /* inspecting the object */ -#define DixWriteAccess (1<<1) /* changing the object */ -#define DixReadWriteAccess (DixReadAccess|DixWriteAccess) -#define DixDestroyAccess (1<<2) /* destroying the object */ - extern pointer SecurityLookupIDByType( ClientPtr /*client*/, XID /*id*/, |