svn commit: samba r18735 - in branches/SAMBA_4_0/source/librpc/idl: .

gd at samba.org gd at samba.org
Wed Sep 20 19:02:45 GMT 2006


Author: gd
Date: 2006-09-20 19:02:44 +0000 (Wed, 20 Sep 2006)
New Revision: 18735

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

Log:
Fill in dfs_StorageState.

Guenther

Modified:
   branches/SAMBA_4_0/source/librpc/idl/dfs.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/dfs.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/dfs.idl	2006-09-20 19:00:15 UTC (rev 18734)
+++ branches/SAMBA_4_0/source/librpc/idl/dfs.idl	2006-09-20 19:02:44 UTC (rev 18735)
@@ -60,8 +60,17 @@
 		uint32 num_stores;
 	} dfs_Info2;
 
+	const int DFS_STORAGE_STATES = 0xf;
+
+	/* yes, this is a bitmap */
+	typedef [public,bitmap32bit] bitmap {
+		DFS_STORAGE_STATE_OFFLINE 	= 1,
+		DFS_STORAGE_STATE_ONLINE 	= 2,
+		DFS_STORAGE_STATE_ACTIVE 	= 4
+	} dfs_StorageState;
+
 	typedef struct {
-		uint32 state;
+		dfs_StorageState state;
 		[string,charset(UTF16)] uint16 *server;
 		[string,charset(UTF16)] uint16 *share;
 	} dfs_StorageInfo;
@@ -127,7 +136,7 @@
 	} dfs_Info100;
 
 	typedef struct {
-		uint32 state;
+		dfs_StorageState state;
 	} dfs_Info101;
 
 	typedef struct {
@@ -151,7 +160,7 @@
 	} dfs_Info105;
 
 	typedef struct {
-		uint32 state;
+		dfs_StorageState state;
 		dfs_Target_Priority priority;
 	} dfs_Info106;
 



More information about the samba-cvs mailing list