r4436: add one more flag
[samba.git] / source4 / librpc / idl / misc.idl
1 #include "idl_types.h"
2
3 /*
4   miscellaneous IDL structures
5 */
6
7 interface misc
8 {
9         /* server roles */
10         typedef enum {
11                 ROLE_STANDALONE    = 0,
12                 ROLE_DOMAIN_MEMBER = 1,
13                 ROLE_DOMAIN_BDC    = 2,
14                 ROLE_DOMAIN_PDC    = 3
15         } samr_Role;
16
17
18         typedef [public,noprint,gensize] struct {
19                 uint32 time_low;
20                 uint16 time_mid;
21                 uint16 time_hi_and_version;
22                 uint8  clock_seq[2];
23                 uint8  node[6];
24         } GUID;
25
26         typedef [public] struct {
27                 uint32 handle_type;
28                 GUID   uuid;
29         } policy_handle;
30
31         typedef [public, flag(NDR_PAHEX)] struct {
32                 uint8 hash[16];
33         } samr_Password;
34
35         typedef [public, flag(NDR_PAHEX)] struct {
36                 uint8 data[8];
37         } netr_Credential;
38
39         typedef [public] struct {
40                 netr_Credential cred;
41                 time_t timestamp;
42         } netr_Authenticator;
43
44 }