1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

r18735: Fill in dfs_StorageState.

Guenther
(This used to be commit 4b767d6eefe66e742980cbad3f5bbbf941556820)
This commit is contained in:
Günther Deschner 2006-09-20 19:02:44 +00:00 committed by Gerald (Jerry) Carter
parent 218a4ca176
commit ba87f3ee68

View File

@ -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;