diff options
author | Günther Deschner <gd@samba.org> | 2006-09-20 19:02:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:19:05 -0500 |
commit | ba87f3ee68f24d6086cdc183e18ad85216bb16b2 (patch) | |
tree | b13b337baaf46afa943fa894c978f5d43d80a012 | |
parent | 218a4ca176672a1248346fc8eab710f536eb3a17 (diff) | |
download | samba-ba87f3ee68f24d6086cdc183e18ad85216bb16b2.tar.gz samba-ba87f3ee68f24d6086cdc183e18ad85216bb16b2.tar.bz2 samba-ba87f3ee68f24d6086cdc183e18ad85216bb16b2.zip |
r18735: Fill in dfs_StorageState.
Guenther
(This used to be commit 4b767d6eefe66e742980cbad3f5bbbf941556820)
-rw-r--r-- | source4/librpc/idl/dfs.idl | 15 |
1 files changed, 12 insertions, 3 deletions
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; |