WHATSNEW: Update release notes.
[Samba.git] / librpc / idl / misc.idl
blob4a53872e39befcae03c498abf3bb2483906a66da
1 #include "idl_types.h"
3 /*
4 miscellaneous IDL structures
5 */
8 pointer_default(unique)
10 interface misc
12 typedef [public,noprint,gensize] struct {
13 uint32 time_low;
14 uint16 time_mid;
15 uint16 time_hi_and_version;
16 uint8 clock_seq[2];
17 uint8 node[6];
18 } GUID;
20 typedef [public] struct {
21 GUID uuid;
22 uint32 if_version;
23 } ndr_syntax_id;
25 typedef [public] struct {
26 uint32 handle_type;
27 GUID uuid;
28 } policy_handle;
30 /* secure channel types */
31 /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
33 typedef [public] enum {
34 SEC_CHAN_NULL = 0,
35 SEC_CHAN_WKSTA = 2,
36 SEC_CHAN_DNS_DOMAIN = 3,
37 SEC_CHAN_DOMAIN = 4,
38 SEC_CHAN_BDC = 6
39 } netr_SchannelType;
41 typedef [public] struct {
42 NTSTATUS ntstatus;
43 uint32 unknown1;
44 uint32 unknown2; /* 0x00000001 */
45 } KRB5_EDATA_NTSTATUS;
47 typedef [public,v1_enum] enum {
48 REG_NONE = 0,
49 REG_SZ = 1,
50 REG_EXPAND_SZ = 2,
51 REG_BINARY = 3,
52 REG_DWORD = 4,
53 REG_DWORD_BIG_ENDIAN = 5,
54 REG_LINK = 6,
55 REG_MULTI_SZ = 7,
56 REG_RESOURCE_LIST = 8,
57 REG_FULL_RESOURCE_DESCRIPTOR = 9,
58 REG_RESOURCE_REQUIREMENTS_LIST = 10,
59 REG_QWORD = 11
60 } winreg_Type;
62 typedef [nodiscriminant,public,flag(NDR_LITTLE_ENDIAN)] union {
63 [case(REG_NONE)];
64 [case(REG_SZ)] nstring string;
65 [case(REG_EXPAND_SZ)] nstring string;
66 [case(REG_BINARY),flag(NDR_REMAINING)] DATA_BLOB binary;
67 [case(REG_DWORD)] uint32 value;
68 [case(REG_DWORD_BIG_ENDIAN),flag(NDR_BIG_ENDIAN)] uint32 value;
69 [case(REG_MULTI_SZ)] nstring_array string_array;
70 [default,flag(NDR_REMAINING)] DATA_BLOB data;
71 } winreg_Data;