s3: add secrets.idl.
[ira/wip.git] / source3 / librpc / idl / secrets.idl
1 #include "idl_types.h"
2
3 /*
4    IDL structures for secrets code
5 */
6
7 [
8         pointer_default(unique)
9 ]
10         interface secrets
11 {
12
13         /*
14          * s3 on-disc storage structure for trusted domains, do not change !
15          */
16
17         typedef [flag(NDR_NOALIGN),public] struct {
18                 [value(strlen_m_term(uni_name))] uint32 uni_name_len;
19                 [charset(UTF16)] uint16 uni_name[32]; /* unicode domain name */
20                 [value(strlen(pass))] uint32 pass_len;
21                 astring pass;           /* trust relationship's password */
22                 time_t mod_time;
23                 dom_sid domain_sid;     /* remote domain's sid */
24         } TRUSTED_DOM_PASS;
25
26 }
27