summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/gpo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/gpo.h b/source3/include/gpo.h
index 65c96c31e6..cdec1628d0 100644
--- a/source3/include/gpo.h
+++ b/source3/include/gpo.h
@@ -35,6 +35,9 @@ enum GPO_LINK_TYPE {
#define GPO_LIST_FLAG_MACHINE 0x00000001
#define GPO_LIST_FLAG_SITEONLY 0x00000002
+#define GPO_VERSION_USER(x) (x >> 16)
+#define GPO_VERSION_MACHINE(x) (x & 0xffff)
+
struct GROUP_POLICY_OBJECT {
uint32 options; /* GPFLAGS_* */
uint32 version;