svn commit: samba r18926 - in branches/SAMBA_3_0/source/include: .

gd at samba.org gd at samba.org
Tue Sep 26 17:22:16 GMT 2006


Author: gd
Date: 2006-09-26 17:22:15 +0000 (Tue, 26 Sep 2006)
New Revision: 18926

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18926

Log:
Add some useful macros.

Guenther

Modified:
   branches/SAMBA_3_0/source/include/gpo.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/gpo.h
===================================================================
--- branches/SAMBA_3_0/source/include/gpo.h	2006-09-26 16:58:27 UTC (rev 18925)
+++ branches/SAMBA_3_0/source/include/gpo.h	2006-09-26 17:22:15 UTC (rev 18926)
@@ -35,6 +35,9 @@
 #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;



More information about the samba-cvs mailing list