svn commit: samba r18738 - in branches/SAMBA_4_0/source/librpc/idl:
.
gd at samba.org
gd at samba.org
Wed Sep 20 19:09:34 GMT 2006
Author: gd
Date: 2006-09-20 19:09:33 +0000 (Wed, 20 Sep 2006)
New Revision: 18738
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18738
Log:
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
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:06:52 UTC (rev 18737)
+++ branches/SAMBA_4_0/source/librpc/idl/dfs.idl 2006-09-20 19:09:33 UTC (rev 18738)
@@ -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;
More information about the samba-cvs
mailing list