4 miscellaneous IDL structures
9 pyhelper
("librpc/ndr/py_misc.c"),
10 pointer_default(unique)
14 typedef [public,noprint
,gensize
] struct {
17 uint16 time_hi_and_version
;
22 typedef [public] struct {
24 /* The major version is encoded in the 16 least significant bits,
25 the minor in the 16 most significant bits.
26 http://www.opengroup.org/onlinepubs/9629399/chap12.htm */
30 typedef [public] struct {
35 /* secure channel types */
36 /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
38 typedef [public] enum {
42 SEC_CHAN_DNS_DOMAIN
= 3,
49 typedef [public] struct {
52 uint32 unknown2
; /* 0x00000001 */
53 } KRB5_EDATA_NTSTATUS
;
55 typedef [public,v1_enum] enum {
61 REG_DWORD_BIG_ENDIAN
= 5,
64 REG_RESOURCE_LIST
= 8,
65 REG_FULL_RESOURCE_DESCRIPTOR
= 9,
66 REG_RESOURCE_REQUIREMENTS_LIST
= 10,
70 typedef [nodiscriminant
,public,flag
(NDR_LITTLE_ENDIAN
)] union {
72 [case(REG_SZ
)] nstring
string;
73 [case(REG_EXPAND_SZ
)] nstring
string;
74 [case(REG_BINARY
),flag
(NDR_REMAINING
)] DATA_BLOB binary
;
75 [case(REG_DWORD
)] uint32 value
;
76 [case(REG_DWORD_BIG_ENDIAN
),flag
(NDR_BIG_ENDIAN
)] uint32 value
;
77 [case(REG_MULTI_SZ
)] nstring_array string_array
;
78 [default,flag
(NDR_REMAINING
)] DATA_BLOB data
;
81 /* SAM database types */
82 typedef [public,v1_enum] enum {
83 SAM_DATABASE_DOMAIN
= 0, /* Domain users and groups */
84 SAM_DATABASE_BUILTIN
= 1, /* BUILTIN users and groups */
85 SAM_DATABASE_PRIVS
= 2 /* Privileges */
88 typedef [public,bitmap32bit
] bitmap
{
89 SV_TYPE_WORKSTATION
= 0x00000001,
90 SV_TYPE_SERVER
= 0x00000002,
91 SV_TYPE_SQLSERVER
= 0x00000004,
92 SV_TYPE_DOMAIN_CTRL
= 0x00000008,
93 SV_TYPE_DOMAIN_BAKCTRL
= 0x00000010,
94 SV_TYPE_TIME_SOURCE
= 0x00000020,
95 SV_TYPE_AFP
= 0x00000040,
96 SV_TYPE_NOVELL
= 0x00000080,
98 SV_TYPE_DOMAIN_MEMBER
= 0x00000100,
99 SV_TYPE_PRINTQ_SERVER
= 0x00000200,
100 SV_TYPE_DIALIN_SERVER
= 0x00000400,
101 SV_TYPE_SERVER_UNIX
= 0x00000800,
102 SV_TYPE_NT
= 0x00001000,
103 SV_TYPE_WFW
= 0x00002000,
104 SV_TYPE_SERVER_MFPN
= 0x00004000,
105 SV_TYPE_SERVER_NT
= 0x00008000,
106 SV_TYPE_POTENTIAL_BROWSER
= 0x00010000,
107 SV_TYPE_BACKUP_BROWSER
= 0x00020000,
108 SV_TYPE_MASTER_BROWSER
= 0x00040000,
109 SV_TYPE_DOMAIN_MASTER
= 0x00080000,
110 SV_TYPE_SERVER_OSF
= 0x00100000,
111 SV_TYPE_SERVER_VMS
= 0x00200000,
112 SV_TYPE_WIN95_PLUS
= 0x00400000,
113 SV_TYPE_DFS_SERVER
= 0x00800000,
114 SV_TYPE_ALTERNATE_XPORT
= 0x20000000,
115 SV_TYPE_LOCAL_LIST_ONLY
= 0x40000000,
116 SV_TYPE_DOMAIN_ENUM
= 0x80000000
119 const uint32 SV_TYPE_ALL
= 0xFFFFFFFF;