git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / efs.h
1 /* header auto-generated by pidl */
2
3 #ifndef _PIDL_HEADER_efs
4 #define _PIDL_HEADER_efs
5
6 #include <stdint.h>
7
8 #include "libcli/util/ntstatus.h"
9
10 #include "librpc/gen_ndr/security.h"
11 #ifndef _HEADER_efs
12 #define _HEADER_efs
13
14 struct EFS_HASH_BLOB {
15         uint32_t cbData;
16         uint8_t *pbData;/* [unique,size_is(cbData)] */
17 };
18
19 struct ENCRYPTION_CERTIFICATE_HASH {
20         uint32_t cbTotalLength;
21         struct dom_sid *pUserSid;/* [unique] */
22         struct EFS_HASH_BLOB *pHash;/* [unique] */
23         const char *lpDisplayInformation;/* [unique,charset(UTF16)] */
24 };
25
26 struct ENCRYPTION_CERTIFICATE_HASH_LIST {
27         uint32_t nCert_Hash;
28         struct ENCRYPTION_CERTIFICATE_HASH **pUsers;/* [unique,size_is(nCert_Hash)] */
29 };
30
31 struct EFS_CERTIFICATE_BLOB {
32         uint32_t dwCertEncodingType;
33         uint32_t cbData;
34         uint8_t *pbData;/* [unique,size_is(cbData)] */
35 };
36
37 struct ENCRYPTION_CERTIFICATE {
38         uint32_t TotalLength;
39         struct dom_sid *pUserSid;/* [unique] */
40         struct EFS_CERTIFICATE_BLOB *pCertBlob;/* [unique] */
41 };
42
43
44 struct EfsRpcOpenFileRaw {
45         struct {
46                 const char *FileName;/* [charset(UTF16)] */
47                 uint32_t Flags;
48         } in;
49
50         struct {
51                 struct policy_handle *pvContext;/* [ref] */
52                 WERROR result;
53         } out;
54
55 };
56
57
58 struct EfsRpcReadFileRaw {
59         struct {
60                 struct policy_handle *pvContext;/* [ref] */
61         } in;
62
63         struct {
64                 WERROR result;
65         } out;
66
67 };
68
69
70 struct EfsRpcWriteFileRaw {
71         struct {
72                 struct policy_handle *pvContext;/* [ref] */
73         } in;
74
75         struct {
76                 WERROR result;
77         } out;
78
79 };
80
81
82 struct EfsRpcCloseRaw {
83         struct {
84                 struct policy_handle *pvContext;/* [ref] */
85         } in;
86
87         struct {
88                 struct policy_handle *pvContext;/* [ref] */
89         } out;
90
91 };
92
93
94 struct EfsRpcEncryptFileSrv {
95         struct {
96                 const char *Filename;/* [charset(UTF16)] */
97         } in;
98
99         struct {
100                 WERROR result;
101         } out;
102
103 };
104
105
106 struct EfsRpcDecryptFileSrv {
107         struct {
108                 const char *FileName;/* [charset(UTF16)] */
109                 uint32_t Reserved;
110         } in;
111
112         struct {
113                 WERROR result;
114         } out;
115
116 };
117
118
119 struct EfsRpcQueryUsersOnFile {
120         struct {
121                 const char *FileName;/* [charset(UTF16)] */
122         } in;
123
124         struct {
125                 struct ENCRYPTION_CERTIFICATE_HASH_LIST **pUsers;/* [unique,ref] */
126                 WERROR result;
127         } out;
128
129 };
130
131
132 struct EfsRpcQueryRecoveryAgents {
133         struct {
134                 const char *FileName;/* [charset(UTF16)] */
135         } in;
136
137         struct {
138                 struct ENCRYPTION_CERTIFICATE_HASH_LIST **pRecoveryAgents;/* [unique,ref] */
139                 WERROR result;
140         } out;
141
142 };
143
144
145 struct EfsRpcRemoveUsersFromFile {
146         struct {
147                 const char *FileName;/* [charset(UTF16)] */
148         } in;
149
150         struct {
151                 WERROR result;
152         } out;
153
154 };
155
156
157 struct EfsRpcAddUsersToFile {
158         struct {
159                 const char *FileName;/* [charset(UTF16)] */
160         } in;
161
162         struct {
163                 WERROR result;
164         } out;
165
166 };
167
168
169 struct EfsRpcSetFileEncryptionKey {
170         struct {
171                 struct ENCRYPTION_CERTIFICATE *pEncryptionCertificate;/* [unique] */
172         } in;
173
174         struct {
175                 WERROR result;
176         } out;
177
178 };
179
180
181 struct EfsRpcNotSupported {
182         struct {
183                 WERROR result;
184         } out;
185
186 };
187
188
189 struct EfsRpcFileKeyInfo {
190         struct {
191                 WERROR result;
192         } out;
193
194 };
195
196
197 struct EfsRpcDuplicateEncryptionInfoFile {
198         struct {
199                 WERROR result;
200         } out;
201
202 };
203
204 #endif /* _HEADER_efs */
205 #endif /* _PIDL_HEADER_efs */