mirror of
https://github.com/samba-team/samba.git
synced 2025-11-29 16:23:52 +03:00
r18634: Turn flags field into a bitmap.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e2879f6fc2
commit
add8a8f6cf
@@ -474,8 +474,16 @@
|
||||
[size_is(count)] srvsvc_NetShareInfo1004 *array;
|
||||
} srvsvc_NetShareCtr1004;
|
||||
|
||||
typedef bitmap {
|
||||
SHARE_1005_IN_DFS = 0x00000001,
|
||||
SHARE_1005_DFS_ROOT = 0x00000002
|
||||
} NetShareInfo1005Flags;
|
||||
|
||||
const uint32 SHARE_1005_CSC_POLICY_MASK = 0x00000030;
|
||||
const uint32 SHARE_1005_CSC_POLICY_SHIFT = 4;
|
||||
|
||||
typedef struct {
|
||||
uint32 dfs_flags;
|
||||
NetShareInfo1005Flags dfs_flags;
|
||||
} srvsvc_NetShareInfo1005;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user