From ba87f3ee68f24d6086cdc183e18ad85216bb16b2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 20 Sep 2006 19:02:44 +0000 Subject: r18735: Fill in dfs_StorageState. Guenther (This used to be commit 4b767d6eefe66e742980cbad3f5bbbf941556820) --- source4/librpc/idl/dfs.idl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/librpc/idl/dfs.idl b/source4/librpc/idl/dfs.idl index 4f450ca28b..e23ad96d67 100644 --- a/source4/librpc/idl/dfs.idl +++ b/source4/librpc/idl/dfs.idl @@ -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; -- cgit