summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-20 19:09:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:05 -0500
commit345863915ff9d07d3b9de851bf49222ec52ded4d (patch)
tree07a1cffa76356ccd3b4cf5fa4c41774db87712f7 /source4
parentf5a5cb6a1f17edf9fb0e57fd3348c4638878953a (diff)
downloadsamba-345863915ff9d07d3b9de851bf49222ec52ded4d.tar.gz
samba-345863915ff9d07d3b9de851bf49222ec52ded4d.tar.bz2
samba-345863915ff9d07d3b9de851bf49222ec52ded4d.zip
r18738: Fill in dfs_VolumeState.
Hm, wondering if there is a better way to let that be composed out of one dfs_VolumeFlavor flag and one dfs_VolumeState flag. Guenther (This used to be commit 152fcddebc459624002c002bd2ee457ff6bca9ba)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/dfs.idl22
1 files changed, 16 insertions, 6 deletions
diff --git a/source4/librpc/idl/dfs.idl b/source4/librpc/idl/dfs.idl
index 0360636465..751704cea5 100644
--- a/source4/librpc/idl/dfs.idl
+++ b/source4/librpc/idl/dfs.idl
@@ -53,10 +53,20 @@
[string,charset(UTF16)] uint16 *path;
} dfs_Info1;
+ /* first 4 bits unverified yet */
+ typedef [public,bitmap32bit] bitmap {
+ DFS_VOLUME_STATE_OK = 0x1,
+ DFS_VOLUME_STATE_INCONSISTENT = 0x2,
+ DFS_VOLUME_STATE_OFFLINE = 0x4,
+ DFS_VOLUME_STATE_ONLINE = 0x8,
+ DFS_VOLUME_STATE_STANDALONE = DFS_VOLUME_FLAVOR_STANDALONE,
+ DFS_VOLUME_STATE_AD_BLOB = DFS_VOLUME_FLAVOR_AD_BLOB
+ } dfs_VolumeState;
+
typedef struct {
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 num_stores;
} dfs_Info2;
@@ -78,7 +88,7 @@
typedef struct {
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 num_stores;
[size_is(num_stores)] dfs_StorageInfo *stores;
} dfs_Info3;
@@ -86,7 +96,7 @@
typedef struct {
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 timeout;
GUID guid;
uint32 num_stores;
@@ -105,7 +115,7 @@
typedef struct {
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 timeout;
GUID guid;
dfs_PropertyFlags flags;
@@ -136,7 +146,7 @@
typedef struct {
[string,charset(UTF16)] uint16 *entry_path;
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 timeout;
GUID guid;
dfs_PropertyFlags flags;
@@ -171,7 +181,7 @@
typedef struct {
[string,charset(UTF16)] uint16 *comment;
- uint32 state;
+ dfs_VolumeState state;
uint32 timeout;
uint32 property_flag_mask;
uint32 property_flags;