Merge branch 'master' of ssh://git.samba.org/data/git/samba
[ira/wip.git] / librpc / idl / misc.idl
1 /*
2   miscellaneous IDL structures
3 */
4
5 [
6         pointer_default(unique)
7 ]
8 interface misc
9 {
10         typedef [public,noprint,gensize] struct {
11                 uint32 time_low;
12                 uint16 time_mid;
13                 uint16 time_hi_and_version;
14                 uint8  clock_seq[2];
15                 uint8  node[6];
16         } GUID;
17
18         typedef [public] struct {
19                 GUID uuid;
20                 uint32 if_version;
21         } ndr_syntax_id;
22
23         typedef [public] struct {
24                 uint32 handle_type;
25                 GUID   uuid;
26         } policy_handle;
27
28         /* secure channel types */
29         /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
30
31         typedef [public] enum {
32                 SEC_CHAN_NULL        = 0,
33                 SEC_CHAN_WKSTA       = 2,
34                 SEC_CHAN_DNS_DOMAIN  = 3,
35                 SEC_CHAN_DOMAIN      = 4,
36                 SEC_CHAN_BDC         = 6
37         } netr_SchannelType;
38 }