s3: re-run make samba3-idl.
[samba.git] / librpc / gen_ndr / cli_lsa.h
1 #include "../librpc/gen_ndr/ndr_lsa.h"
2 #ifndef __CLI_LSARPC__
3 #define __CLI_LSARPC__
4 struct tevent_req *rpccli_lsa_Close_send(TALLOC_CTX *mem_ctx,
5                                          struct tevent_context *ev,
6                                          struct rpc_pipe_client *cli,
7                                          struct policy_handle *_handle /* [in,out] [ref] */);
8 NTSTATUS rpccli_lsa_Close_recv(struct tevent_req *req,
9                                TALLOC_CTX *mem_ctx,
10                                NTSTATUS *result);
11 NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
12                           TALLOC_CTX *mem_ctx,
13                           struct policy_handle *handle /* [in,out] [ref] */);
14 struct tevent_req *rpccli_lsa_Delete_send(TALLOC_CTX *mem_ctx,
15                                           struct tevent_context *ev,
16                                           struct rpc_pipe_client *cli,
17                                           struct policy_handle *_handle /* [in] [ref] */);
18 NTSTATUS rpccli_lsa_Delete_recv(struct tevent_req *req,
19                                 TALLOC_CTX *mem_ctx,
20                                 NTSTATUS *result);
21 NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli,
22                            TALLOC_CTX *mem_ctx,
23                            struct policy_handle *handle /* [in] [ref] */);
24 struct tevent_req *rpccli_lsa_EnumPrivs_send(TALLOC_CTX *mem_ctx,
25                                              struct tevent_context *ev,
26                                              struct rpc_pipe_client *cli,
27                                              struct policy_handle *_handle /* [in] [ref] */,
28                                              uint32_t *_resume_handle /* [in,out] [ref] */,
29                                              struct lsa_PrivArray *_privs /* [out] [ref] */,
30                                              uint32_t _max_count /* [in]  */);
31 NTSTATUS rpccli_lsa_EnumPrivs_recv(struct tevent_req *req,
32                                    TALLOC_CTX *mem_ctx,
33                                    NTSTATUS *result);
34 NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli,
35                               TALLOC_CTX *mem_ctx,
36                               struct policy_handle *handle /* [in] [ref] */,
37                               uint32_t *resume_handle /* [in,out] [ref] */,
38                               struct lsa_PrivArray *privs /* [out] [ref] */,
39                               uint32_t max_count /* [in]  */);
40 struct tevent_req *rpccli_lsa_QuerySecurity_send(TALLOC_CTX *mem_ctx,
41                                                  struct tevent_context *ev,
42                                                  struct rpc_pipe_client *cli,
43                                                  struct policy_handle *_handle /* [in] [ref] */,
44                                                  uint32_t _sec_info /* [in]  */,
45                                                  struct sec_desc_buf **_sdbuf /* [out] [ref] */);
46 NTSTATUS rpccli_lsa_QuerySecurity_recv(struct tevent_req *req,
47                                        TALLOC_CTX *mem_ctx,
48                                        NTSTATUS *result);
49 NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli,
50                                   TALLOC_CTX *mem_ctx,
51                                   struct policy_handle *handle /* [in] [ref] */,
52                                   uint32_t sec_info /* [in]  */,
53                                   struct sec_desc_buf **sdbuf /* [out] [ref] */);
54 struct tevent_req *rpccli_lsa_SetSecObj_send(TALLOC_CTX *mem_ctx,
55                                              struct tevent_context *ev,
56                                              struct rpc_pipe_client *cli,
57                                              struct policy_handle *_handle /* [in] [ref] */,
58                                              uint32_t _sec_info /* [in]  */,
59                                              struct sec_desc_buf *_sdbuf /* [in] [ref] */);
60 NTSTATUS rpccli_lsa_SetSecObj_recv(struct tevent_req *req,
61                                    TALLOC_CTX *mem_ctx,
62                                    NTSTATUS *result);
63 NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli,
64                               TALLOC_CTX *mem_ctx,
65                               struct policy_handle *handle /* [in] [ref] */,
66                               uint32_t sec_info /* [in]  */,
67                               struct sec_desc_buf *sdbuf /* [in] [ref] */);
68 struct tevent_req *rpccli_lsa_ChangePassword_send(TALLOC_CTX *mem_ctx,
69                                                   struct tevent_context *ev,
70                                                   struct rpc_pipe_client *cli);
71 NTSTATUS rpccli_lsa_ChangePassword_recv(struct tevent_req *req,
72                                         TALLOC_CTX *mem_ctx,
73                                         NTSTATUS *result);
74 NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli,
75                                    TALLOC_CTX *mem_ctx);
76 struct tevent_req *rpccli_lsa_OpenPolicy_send(TALLOC_CTX *mem_ctx,
77                                               struct tevent_context *ev,
78                                               struct rpc_pipe_client *cli,
79                                               uint16_t *_system_name /* [in] [unique] */,
80                                               struct lsa_ObjectAttribute *_attr /* [in] [ref] */,
81                                               uint32_t _access_mask /* [in]  */,
82                                               struct policy_handle *_handle /* [out] [ref] */);
83 NTSTATUS rpccli_lsa_OpenPolicy_recv(struct tevent_req *req,
84                                     TALLOC_CTX *mem_ctx,
85                                     NTSTATUS *result);
86 NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli,
87                                TALLOC_CTX *mem_ctx,
88                                uint16_t *system_name /* [in] [unique] */,
89                                struct lsa_ObjectAttribute *attr /* [in] [ref] */,
90                                uint32_t access_mask /* [in]  */,
91                                struct policy_handle *handle /* [out] [ref] */);
92 struct tevent_req *rpccli_lsa_QueryInfoPolicy_send(TALLOC_CTX *mem_ctx,
93                                                    struct tevent_context *ev,
94                                                    struct rpc_pipe_client *cli,
95                                                    struct policy_handle *_handle /* [in] [ref] */,
96                                                    enum lsa_PolicyInfo _level /* [in]  */,
97                                                    union lsa_PolicyInformation **_info /* [out] [ref,switch_is(level)] */);
98 NTSTATUS rpccli_lsa_QueryInfoPolicy_recv(struct tevent_req *req,
99                                          TALLOC_CTX *mem_ctx,
100                                          NTSTATUS *result);
101 NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
102                                     TALLOC_CTX *mem_ctx,
103                                     struct policy_handle *handle /* [in] [ref] */,
104                                     enum lsa_PolicyInfo level /* [in]  */,
105                                     union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */);
106 struct tevent_req *rpccli_lsa_SetInfoPolicy_send(TALLOC_CTX *mem_ctx,
107                                                  struct tevent_context *ev,
108                                                  struct rpc_pipe_client *cli,
109                                                  struct policy_handle *_handle /* [in] [ref] */,
110                                                  enum lsa_PolicyInfo _level /* [in]  */,
111                                                  union lsa_PolicyInformation *_info /* [in] [ref,switch_is(level)] */);
112 NTSTATUS rpccli_lsa_SetInfoPolicy_recv(struct tevent_req *req,
113                                        TALLOC_CTX *mem_ctx,
114                                        NTSTATUS *result);
115 NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli,
116                                   TALLOC_CTX *mem_ctx,
117                                   struct policy_handle *handle /* [in] [ref] */,
118                                   enum lsa_PolicyInfo level /* [in]  */,
119                                   union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */);
120 struct tevent_req *rpccli_lsa_ClearAuditLog_send(TALLOC_CTX *mem_ctx,
121                                                  struct tevent_context *ev,
122                                                  struct rpc_pipe_client *cli);
123 NTSTATUS rpccli_lsa_ClearAuditLog_recv(struct tevent_req *req,
124                                        TALLOC_CTX *mem_ctx,
125                                        NTSTATUS *result);
126 NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli,
127                                   TALLOC_CTX *mem_ctx);
128 struct tevent_req *rpccli_lsa_CreateAccount_send(TALLOC_CTX *mem_ctx,
129                                                  struct tevent_context *ev,
130                                                  struct rpc_pipe_client *cli,
131                                                  struct policy_handle *_handle /* [in] [ref] */,
132                                                  struct dom_sid2 *_sid /* [in] [ref] */,
133                                                  uint32_t _access_mask /* [in]  */,
134                                                  struct policy_handle *_acct_handle /* [out] [ref] */);
135 NTSTATUS rpccli_lsa_CreateAccount_recv(struct tevent_req *req,
136                                        TALLOC_CTX *mem_ctx,
137                                        NTSTATUS *result);
138 NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli,
139                                   TALLOC_CTX *mem_ctx,
140                                   struct policy_handle *handle /* [in] [ref] */,
141                                   struct dom_sid2 *sid /* [in] [ref] */,
142                                   uint32_t access_mask /* [in]  */,
143                                   struct policy_handle *acct_handle /* [out] [ref] */);
144 struct tevent_req *rpccli_lsa_EnumAccounts_send(TALLOC_CTX *mem_ctx,
145                                                 struct tevent_context *ev,
146                                                 struct rpc_pipe_client *cli,
147                                                 struct policy_handle *_handle /* [in] [ref] */,
148                                                 uint32_t *_resume_handle /* [in,out] [ref] */,
149                                                 struct lsa_SidArray *_sids /* [out] [ref] */,
150                                                 uint32_t _num_entries /* [in] [range(0,8192)] */);
151 NTSTATUS rpccli_lsa_EnumAccounts_recv(struct tevent_req *req,
152                                       TALLOC_CTX *mem_ctx,
153                                       NTSTATUS *result);
154 NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli,
155                                  TALLOC_CTX *mem_ctx,
156                                  struct policy_handle *handle /* [in] [ref] */,
157                                  uint32_t *resume_handle /* [in,out] [ref] */,
158                                  struct lsa_SidArray *sids /* [out] [ref] */,
159                                  uint32_t num_entries /* [in] [range(0,8192)] */);
160 struct tevent_req *rpccli_lsa_CreateTrustedDomain_send(TALLOC_CTX *mem_ctx,
161                                                        struct tevent_context *ev,
162                                                        struct rpc_pipe_client *cli,
163                                                        struct policy_handle *_policy_handle /* [in] [ref] */,
164                                                        struct lsa_DomainInfo *_info /* [in] [ref] */,
165                                                        uint32_t _access_mask /* [in]  */,
166                                                        struct policy_handle *_trustdom_handle /* [out] [ref] */);
167 NTSTATUS rpccli_lsa_CreateTrustedDomain_recv(struct tevent_req *req,
168                                              TALLOC_CTX *mem_ctx,
169                                              NTSTATUS *result);
170 NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli,
171                                         TALLOC_CTX *mem_ctx,
172                                         struct policy_handle *policy_handle /* [in] [ref] */,
173                                         struct lsa_DomainInfo *info /* [in] [ref] */,
174                                         uint32_t access_mask /* [in]  */,
175                                         struct policy_handle *trustdom_handle /* [out] [ref] */);
176 struct tevent_req *rpccli_lsa_EnumTrustDom_send(TALLOC_CTX *mem_ctx,
177                                                 struct tevent_context *ev,
178                                                 struct rpc_pipe_client *cli,
179                                                 struct policy_handle *_handle /* [in] [ref] */,
180                                                 uint32_t *_resume_handle /* [in,out] [ref] */,
181                                                 struct lsa_DomainList *_domains /* [out] [ref] */,
182                                                 uint32_t _max_size /* [in]  */);
183 NTSTATUS rpccli_lsa_EnumTrustDom_recv(struct tevent_req *req,
184                                       TALLOC_CTX *mem_ctx,
185                                       NTSTATUS *result);
186 NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli,
187                                  TALLOC_CTX *mem_ctx,
188                                  struct policy_handle *handle /* [in] [ref] */,
189                                  uint32_t *resume_handle /* [in,out] [ref] */,
190                                  struct lsa_DomainList *domains /* [out] [ref] */,
191                                  uint32_t max_size /* [in]  */);
192 struct tevent_req *rpccli_lsa_LookupNames_send(TALLOC_CTX *mem_ctx,
193                                                struct tevent_context *ev,
194                                                struct rpc_pipe_client *cli,
195                                                struct policy_handle *_handle /* [in] [ref] */,
196                                                uint32_t _num_names /* [in] [range(0,1000)] */,
197                                                struct lsa_String *_names /* [in] [size_is(num_names)] */,
198                                                struct lsa_RefDomainList **_domains /* [out] [ref] */,
199                                                struct lsa_TransSidArray *_sids /* [in,out] [ref] */,
200                                                enum lsa_LookupNamesLevel _level /* [in]  */,
201                                                uint32_t *_count /* [in,out] [ref] */);
202 NTSTATUS rpccli_lsa_LookupNames_recv(struct tevent_req *req,
203                                      TALLOC_CTX *mem_ctx,
204                                      NTSTATUS *result);
205 NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli,
206                                 TALLOC_CTX *mem_ctx,
207                                 struct policy_handle *handle /* [in] [ref] */,
208                                 uint32_t num_names /* [in] [range(0,1000)] */,
209                                 struct lsa_String *names /* [in] [size_is(num_names)] */,
210                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
211                                 struct lsa_TransSidArray *sids /* [in,out] [ref] */,
212                                 enum lsa_LookupNamesLevel level /* [in]  */,
213                                 uint32_t *count /* [in,out] [ref] */);
214 struct tevent_req *rpccli_lsa_LookupSids_send(TALLOC_CTX *mem_ctx,
215                                               struct tevent_context *ev,
216                                               struct rpc_pipe_client *cli,
217                                               struct policy_handle *_handle /* [in] [ref] */,
218                                               struct lsa_SidArray *_sids /* [in] [ref] */,
219                                               struct lsa_RefDomainList **_domains /* [out] [ref] */,
220                                               struct lsa_TransNameArray *_names /* [in,out] [ref] */,
221                                               enum lsa_LookupNamesLevel _level /* [in]  */,
222                                               uint32_t *_count /* [in,out] [ref] */);
223 NTSTATUS rpccli_lsa_LookupSids_recv(struct tevent_req *req,
224                                     TALLOC_CTX *mem_ctx,
225                                     NTSTATUS *result);
226 NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli,
227                                TALLOC_CTX *mem_ctx,
228                                struct policy_handle *handle /* [in] [ref] */,
229                                struct lsa_SidArray *sids /* [in] [ref] */,
230                                struct lsa_RefDomainList **domains /* [out] [ref] */,
231                                struct lsa_TransNameArray *names /* [in,out] [ref] */,
232                                enum lsa_LookupNamesLevel level /* [in]  */,
233                                uint32_t *count /* [in,out] [ref] */);
234 struct tevent_req *rpccli_lsa_CreateSecret_send(TALLOC_CTX *mem_ctx,
235                                                 struct tevent_context *ev,
236                                                 struct rpc_pipe_client *cli,
237                                                 struct policy_handle *_handle /* [in] [ref] */,
238                                                 struct lsa_String _name /* [in]  */,
239                                                 uint32_t _access_mask /* [in]  */,
240                                                 struct policy_handle *_sec_handle /* [out] [ref] */);
241 NTSTATUS rpccli_lsa_CreateSecret_recv(struct tevent_req *req,
242                                       TALLOC_CTX *mem_ctx,
243                                       NTSTATUS *result);
244 NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli,
245                                  TALLOC_CTX *mem_ctx,
246                                  struct policy_handle *handle /* [in] [ref] */,
247                                  struct lsa_String name /* [in]  */,
248                                  uint32_t access_mask /* [in]  */,
249                                  struct policy_handle *sec_handle /* [out] [ref] */);
250 struct tevent_req *rpccli_lsa_OpenAccount_send(TALLOC_CTX *mem_ctx,
251                                                struct tevent_context *ev,
252                                                struct rpc_pipe_client *cli,
253                                                struct policy_handle *_handle /* [in] [ref] */,
254                                                struct dom_sid2 *_sid /* [in] [ref] */,
255                                                uint32_t _access_mask /* [in]  */,
256                                                struct policy_handle *_acct_handle /* [out] [ref] */);
257 NTSTATUS rpccli_lsa_OpenAccount_recv(struct tevent_req *req,
258                                      TALLOC_CTX *mem_ctx,
259                                      NTSTATUS *result);
260 NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli,
261                                 TALLOC_CTX *mem_ctx,
262                                 struct policy_handle *handle /* [in] [ref] */,
263                                 struct dom_sid2 *sid /* [in] [ref] */,
264                                 uint32_t access_mask /* [in]  */,
265                                 struct policy_handle *acct_handle /* [out] [ref] */);
266 struct tevent_req *rpccli_lsa_EnumPrivsAccount_send(TALLOC_CTX *mem_ctx,
267                                                     struct tevent_context *ev,
268                                                     struct rpc_pipe_client *cli,
269                                                     struct policy_handle *_handle /* [in] [ref] */,
270                                                     struct lsa_PrivilegeSet **_privs /* [out] [ref] */);
271 NTSTATUS rpccli_lsa_EnumPrivsAccount_recv(struct tevent_req *req,
272                                           TALLOC_CTX *mem_ctx,
273                                           NTSTATUS *result);
274 NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli,
275                                      TALLOC_CTX *mem_ctx,
276                                      struct policy_handle *handle /* [in] [ref] */,
277                                      struct lsa_PrivilegeSet **privs /* [out] [ref] */);
278 struct tevent_req *rpccli_lsa_AddPrivilegesToAccount_send(TALLOC_CTX *mem_ctx,
279                                                           struct tevent_context *ev,
280                                                           struct rpc_pipe_client *cli,
281                                                           struct policy_handle *_handle /* [in] [ref] */,
282                                                           struct lsa_PrivilegeSet *_privs /* [in] [ref] */);
283 NTSTATUS rpccli_lsa_AddPrivilegesToAccount_recv(struct tevent_req *req,
284                                                 TALLOC_CTX *mem_ctx,
285                                                 NTSTATUS *result);
286 NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli,
287                                            TALLOC_CTX *mem_ctx,
288                                            struct policy_handle *handle /* [in] [ref] */,
289                                            struct lsa_PrivilegeSet *privs /* [in] [ref] */);
290 struct tevent_req *rpccli_lsa_RemovePrivilegesFromAccount_send(TALLOC_CTX *mem_ctx,
291                                                                struct tevent_context *ev,
292                                                                struct rpc_pipe_client *cli,
293                                                                struct policy_handle *_handle /* [in] [ref] */,
294                                                                uint8_t _remove_all /* [in]  */,
295                                                                struct lsa_PrivilegeSet *_privs /* [in] [unique] */);
296 NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount_recv(struct tevent_req *req,
297                                                      TALLOC_CTX *mem_ctx,
298                                                      NTSTATUS *result);
299 NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli,
300                                                 TALLOC_CTX *mem_ctx,
301                                                 struct policy_handle *handle /* [in] [ref] */,
302                                                 uint8_t remove_all /* [in]  */,
303                                                 struct lsa_PrivilegeSet *privs /* [in] [unique] */);
304 struct tevent_req *rpccli_lsa_GetQuotasForAccount_send(TALLOC_CTX *mem_ctx,
305                                                        struct tevent_context *ev,
306                                                        struct rpc_pipe_client *cli);
307 NTSTATUS rpccli_lsa_GetQuotasForAccount_recv(struct tevent_req *req,
308                                              TALLOC_CTX *mem_ctx,
309                                              NTSTATUS *result);
310 NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli,
311                                         TALLOC_CTX *mem_ctx);
312 struct tevent_req *rpccli_lsa_SetQuotasForAccount_send(TALLOC_CTX *mem_ctx,
313                                                        struct tevent_context *ev,
314                                                        struct rpc_pipe_client *cli);
315 NTSTATUS rpccli_lsa_SetQuotasForAccount_recv(struct tevent_req *req,
316                                              TALLOC_CTX *mem_ctx,
317                                              NTSTATUS *result);
318 NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli,
319                                         TALLOC_CTX *mem_ctx);
320 struct tevent_req *rpccli_lsa_GetSystemAccessAccount_send(TALLOC_CTX *mem_ctx,
321                                                           struct tevent_context *ev,
322                                                           struct rpc_pipe_client *cli,
323                                                           struct policy_handle *_handle /* [in] [ref] */,
324                                                           uint32_t *_access_mask /* [out] [ref] */);
325 NTSTATUS rpccli_lsa_GetSystemAccessAccount_recv(struct tevent_req *req,
326                                                 TALLOC_CTX *mem_ctx,
327                                                 NTSTATUS *result);
328 NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli,
329                                            TALLOC_CTX *mem_ctx,
330                                            struct policy_handle *handle /* [in] [ref] */,
331                                            uint32_t *access_mask /* [out] [ref] */);
332 struct tevent_req *rpccli_lsa_SetSystemAccessAccount_send(TALLOC_CTX *mem_ctx,
333                                                           struct tevent_context *ev,
334                                                           struct rpc_pipe_client *cli,
335                                                           struct policy_handle *_handle /* [in] [ref] */,
336                                                           uint32_t _access_mask /* [in]  */);
337 NTSTATUS rpccli_lsa_SetSystemAccessAccount_recv(struct tevent_req *req,
338                                                 TALLOC_CTX *mem_ctx,
339                                                 NTSTATUS *result);
340 NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli,
341                                            TALLOC_CTX *mem_ctx,
342                                            struct policy_handle *handle /* [in] [ref] */,
343                                            uint32_t access_mask /* [in]  */);
344 struct tevent_req *rpccli_lsa_OpenTrustedDomain_send(TALLOC_CTX *mem_ctx,
345                                                      struct tevent_context *ev,
346                                                      struct rpc_pipe_client *cli,
347                                                      struct policy_handle *_handle /* [in] [ref] */,
348                                                      struct dom_sid2 *_sid /* [in] [ref] */,
349                                                      uint32_t _access_mask /* [in]  */,
350                                                      struct policy_handle *_trustdom_handle /* [out] [ref] */);
351 NTSTATUS rpccli_lsa_OpenTrustedDomain_recv(struct tevent_req *req,
352                                            TALLOC_CTX *mem_ctx,
353                                            NTSTATUS *result);
354 NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli,
355                                       TALLOC_CTX *mem_ctx,
356                                       struct policy_handle *handle /* [in] [ref] */,
357                                       struct dom_sid2 *sid /* [in] [ref] */,
358                                       uint32_t access_mask /* [in]  */,
359                                       struct policy_handle *trustdom_handle /* [out] [ref] */);
360 struct tevent_req *rpccli_lsa_QueryTrustedDomainInfo_send(TALLOC_CTX *mem_ctx,
361                                                           struct tevent_context *ev,
362                                                           struct rpc_pipe_client *cli,
363                                                           struct policy_handle *_trustdom_handle /* [in] [ref] */,
364                                                           enum lsa_TrustDomInfoEnum _level /* [in]  */,
365                                                           union lsa_TrustedDomainInfo **_info /* [out] [ref,switch_is(level)] */);
366 NTSTATUS rpccli_lsa_QueryTrustedDomainInfo_recv(struct tevent_req *req,
367                                                 TALLOC_CTX *mem_ctx,
368                                                 NTSTATUS *result);
369 NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli,
370                                            TALLOC_CTX *mem_ctx,
371                                            struct policy_handle *trustdom_handle /* [in] [ref] */,
372                                            enum lsa_TrustDomInfoEnum level /* [in]  */,
373                                            union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
374 struct tevent_req *rpccli_lsa_SetInformationTrustedDomain_send(TALLOC_CTX *mem_ctx,
375                                                                struct tevent_context *ev,
376                                                                struct rpc_pipe_client *cli,
377                                                                struct policy_handle *_trustdom_handle /* [in] [ref] */,
378                                                                enum lsa_TrustDomInfoEnum _level /* [in]  */,
379                                                                union lsa_TrustedDomainInfo *_info /* [in] [ref,switch_is(level)] */);
380 NTSTATUS rpccli_lsa_SetInformationTrustedDomain_recv(struct tevent_req *req,
381                                                      TALLOC_CTX *mem_ctx,
382                                                      NTSTATUS *result);
383 NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli,
384                                                 TALLOC_CTX *mem_ctx,
385                                                 struct policy_handle *trustdom_handle /* [in] [ref] */,
386                                                 enum lsa_TrustDomInfoEnum level /* [in]  */,
387                                                 union lsa_TrustedDomainInfo *info /* [in] [ref,switch_is(level)] */);
388 struct tevent_req *rpccli_lsa_OpenSecret_send(TALLOC_CTX *mem_ctx,
389                                               struct tevent_context *ev,
390                                               struct rpc_pipe_client *cli,
391                                               struct policy_handle *_handle /* [in] [ref] */,
392                                               struct lsa_String _name /* [in]  */,
393                                               uint32_t _access_mask /* [in]  */,
394                                               struct policy_handle *_sec_handle /* [out] [ref] */);
395 NTSTATUS rpccli_lsa_OpenSecret_recv(struct tevent_req *req,
396                                     TALLOC_CTX *mem_ctx,
397                                     NTSTATUS *result);
398 NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli,
399                                TALLOC_CTX *mem_ctx,
400                                struct policy_handle *handle /* [in] [ref] */,
401                                struct lsa_String name /* [in]  */,
402                                uint32_t access_mask /* [in]  */,
403                                struct policy_handle *sec_handle /* [out] [ref] */);
404 struct tevent_req *rpccli_lsa_SetSecret_send(TALLOC_CTX *mem_ctx,
405                                              struct tevent_context *ev,
406                                              struct rpc_pipe_client *cli,
407                                              struct policy_handle *_sec_handle /* [in] [ref] */,
408                                              struct lsa_DATA_BUF *_new_val /* [in] [unique] */,
409                                              struct lsa_DATA_BUF *_old_val /* [in] [unique] */);
410 NTSTATUS rpccli_lsa_SetSecret_recv(struct tevent_req *req,
411                                    TALLOC_CTX *mem_ctx,
412                                    NTSTATUS *result);
413 NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli,
414                               TALLOC_CTX *mem_ctx,
415                               struct policy_handle *sec_handle /* [in] [ref] */,
416                               struct lsa_DATA_BUF *new_val /* [in] [unique] */,
417                               struct lsa_DATA_BUF *old_val /* [in] [unique] */);
418 struct tevent_req *rpccli_lsa_QuerySecret_send(TALLOC_CTX *mem_ctx,
419                                                struct tevent_context *ev,
420                                                struct rpc_pipe_client *cli,
421                                                struct policy_handle *_sec_handle /* [in] [ref] */,
422                                                struct lsa_DATA_BUF_PTR *_new_val /* [in,out] [unique] */,
423                                                NTTIME *_new_mtime /* [in,out] [unique] */,
424                                                struct lsa_DATA_BUF_PTR *_old_val /* [in,out] [unique] */,
425                                                NTTIME *_old_mtime /* [in,out] [unique] */);
426 NTSTATUS rpccli_lsa_QuerySecret_recv(struct tevent_req *req,
427                                      TALLOC_CTX *mem_ctx,
428                                      NTSTATUS *result);
429 NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli,
430                                 TALLOC_CTX *mem_ctx,
431                                 struct policy_handle *sec_handle /* [in] [ref] */,
432                                 struct lsa_DATA_BUF_PTR *new_val /* [in,out] [unique] */,
433                                 NTTIME *new_mtime /* [in,out] [unique] */,
434                                 struct lsa_DATA_BUF_PTR *old_val /* [in,out] [unique] */,
435                                 NTTIME *old_mtime /* [in,out] [unique] */);
436 struct tevent_req *rpccli_lsa_LookupPrivValue_send(TALLOC_CTX *mem_ctx,
437                                                    struct tevent_context *ev,
438                                                    struct rpc_pipe_client *cli,
439                                                    struct policy_handle *_handle /* [in] [ref] */,
440                                                    struct lsa_String *_name /* [in] [ref] */,
441                                                    struct lsa_LUID *_luid /* [out] [ref] */);
442 NTSTATUS rpccli_lsa_LookupPrivValue_recv(struct tevent_req *req,
443                                          TALLOC_CTX *mem_ctx,
444                                          NTSTATUS *result);
445 NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli,
446                                     TALLOC_CTX *mem_ctx,
447                                     struct policy_handle *handle /* [in] [ref] */,
448                                     struct lsa_String *name /* [in] [ref] */,
449                                     struct lsa_LUID *luid /* [out] [ref] */);
450 struct tevent_req *rpccli_lsa_LookupPrivName_send(TALLOC_CTX *mem_ctx,
451                                                   struct tevent_context *ev,
452                                                   struct rpc_pipe_client *cli,
453                                                   struct policy_handle *_handle /* [in] [ref] */,
454                                                   struct lsa_LUID *_luid /* [in] [ref] */,
455                                                   struct lsa_StringLarge **_name /* [out] [ref] */);
456 NTSTATUS rpccli_lsa_LookupPrivName_recv(struct tevent_req *req,
457                                         TALLOC_CTX *mem_ctx,
458                                         NTSTATUS *result);
459 NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli,
460                                    TALLOC_CTX *mem_ctx,
461                                    struct policy_handle *handle /* [in] [ref] */,
462                                    struct lsa_LUID *luid /* [in] [ref] */,
463                                    struct lsa_StringLarge **name /* [out] [ref] */);
464 struct tevent_req *rpccli_lsa_LookupPrivDisplayName_send(TALLOC_CTX *mem_ctx,
465                                                          struct tevent_context *ev,
466                                                          struct rpc_pipe_client *cli,
467                                                          struct policy_handle *_handle /* [in] [ref] */,
468                                                          struct lsa_String *_name /* [in] [ref] */,
469                                                          uint16_t _language_id /* [in]  */,
470                                                          uint16_t _language_id_sys /* [in]  */,
471                                                          struct lsa_StringLarge **_disp_name /* [out] [ref] */,
472                                                          uint16_t *_returned_language_id /* [out] [ref] */);
473 NTSTATUS rpccli_lsa_LookupPrivDisplayName_recv(struct tevent_req *req,
474                                                TALLOC_CTX *mem_ctx,
475                                                NTSTATUS *result);
476 NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli,
477                                           TALLOC_CTX *mem_ctx,
478                                           struct policy_handle *handle /* [in] [ref] */,
479                                           struct lsa_String *name /* [in] [ref] */,
480                                           uint16_t language_id /* [in]  */,
481                                           uint16_t language_id_sys /* [in]  */,
482                                           struct lsa_StringLarge **disp_name /* [out] [ref] */,
483                                           uint16_t *returned_language_id /* [out] [ref] */);
484 struct tevent_req *rpccli_lsa_DeleteObject_send(TALLOC_CTX *mem_ctx,
485                                                 struct tevent_context *ev,
486                                                 struct rpc_pipe_client *cli,
487                                                 struct policy_handle *_handle /* [in,out] [ref] */);
488 NTSTATUS rpccli_lsa_DeleteObject_recv(struct tevent_req *req,
489                                       TALLOC_CTX *mem_ctx,
490                                       NTSTATUS *result);
491 NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli,
492                                  TALLOC_CTX *mem_ctx,
493                                  struct policy_handle *handle /* [in,out] [ref] */);
494 struct tevent_req *rpccli_lsa_EnumAccountsWithUserRight_send(TALLOC_CTX *mem_ctx,
495                                                              struct tevent_context *ev,
496                                                              struct rpc_pipe_client *cli,
497                                                              struct policy_handle *_handle /* [in] [ref] */,
498                                                              struct lsa_String *_name /* [in] [unique] */,
499                                                              struct lsa_SidArray *_sids /* [out] [ref] */);
500 NTSTATUS rpccli_lsa_EnumAccountsWithUserRight_recv(struct tevent_req *req,
501                                                    TALLOC_CTX *mem_ctx,
502                                                    NTSTATUS *result);
503 NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli,
504                                               TALLOC_CTX *mem_ctx,
505                                               struct policy_handle *handle /* [in] [ref] */,
506                                               struct lsa_String *name /* [in] [unique] */,
507                                               struct lsa_SidArray *sids /* [out] [ref] */);
508 struct tevent_req *rpccli_lsa_EnumAccountRights_send(TALLOC_CTX *mem_ctx,
509                                                      struct tevent_context *ev,
510                                                      struct rpc_pipe_client *cli,
511                                                      struct policy_handle *_handle /* [in] [ref] */,
512                                                      struct dom_sid2 *_sid /* [in] [ref] */,
513                                                      struct lsa_RightSet *_rights /* [out] [ref] */);
514 NTSTATUS rpccli_lsa_EnumAccountRights_recv(struct tevent_req *req,
515                                            TALLOC_CTX *mem_ctx,
516                                            NTSTATUS *result);
517 NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli,
518                                       TALLOC_CTX *mem_ctx,
519                                       struct policy_handle *handle /* [in] [ref] */,
520                                       struct dom_sid2 *sid /* [in] [ref] */,
521                                       struct lsa_RightSet *rights /* [out] [ref] */);
522 struct tevent_req *rpccli_lsa_AddAccountRights_send(TALLOC_CTX *mem_ctx,
523                                                     struct tevent_context *ev,
524                                                     struct rpc_pipe_client *cli,
525                                                     struct policy_handle *_handle /* [in] [ref] */,
526                                                     struct dom_sid2 *_sid /* [in] [ref] */,
527                                                     struct lsa_RightSet *_rights /* [in] [ref] */);
528 NTSTATUS rpccli_lsa_AddAccountRights_recv(struct tevent_req *req,
529                                           TALLOC_CTX *mem_ctx,
530                                           NTSTATUS *result);
531 NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli,
532                                      TALLOC_CTX *mem_ctx,
533                                      struct policy_handle *handle /* [in] [ref] */,
534                                      struct dom_sid2 *sid /* [in] [ref] */,
535                                      struct lsa_RightSet *rights /* [in] [ref] */);
536 struct tevent_req *rpccli_lsa_RemoveAccountRights_send(TALLOC_CTX *mem_ctx,
537                                                        struct tevent_context *ev,
538                                                        struct rpc_pipe_client *cli,
539                                                        struct policy_handle *_handle /* [in] [ref] */,
540                                                        struct dom_sid2 *_sid /* [in] [ref] */,
541                                                        uint8_t _remove_all /* [in]  */,
542                                                        struct lsa_RightSet *_rights /* [in] [ref] */);
543 NTSTATUS rpccli_lsa_RemoveAccountRights_recv(struct tevent_req *req,
544                                              TALLOC_CTX *mem_ctx,
545                                              NTSTATUS *result);
546 NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
547                                         TALLOC_CTX *mem_ctx,
548                                         struct policy_handle *handle /* [in] [ref] */,
549                                         struct dom_sid2 *sid /* [in] [ref] */,
550                                         uint8_t remove_all /* [in]  */,
551                                         struct lsa_RightSet *rights /* [in] [ref] */);
552 struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoBySid_send(TALLOC_CTX *mem_ctx,
553                                                                struct tevent_context *ev,
554                                                                struct rpc_pipe_client *cli,
555                                                                struct policy_handle *_handle /* [in] [ref] */,
556                                                                struct dom_sid2 *_dom_sid /* [in] [ref] */,
557                                                                enum lsa_TrustDomInfoEnum _level /* [in]  */,
558                                                                union lsa_TrustedDomainInfo **_info /* [out] [ref,switch_is(level)] */);
559 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid_recv(struct tevent_req *req,
560                                                      TALLOC_CTX *mem_ctx,
561                                                      NTSTATUS *result);
562 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
563                                                 TALLOC_CTX *mem_ctx,
564                                                 struct policy_handle *handle /* [in] [ref] */,
565                                                 struct dom_sid2 *dom_sid /* [in] [ref] */,
566                                                 enum lsa_TrustDomInfoEnum level /* [in]  */,
567                                                 union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
568 struct tevent_req *rpccli_lsa_SetTrustedDomainInfo_send(TALLOC_CTX *mem_ctx,
569                                                         struct tevent_context *ev,
570                                                         struct rpc_pipe_client *cli,
571                                                         struct policy_handle *_handle /* [in] [ref] */,
572                                                         struct dom_sid2 *_dom_sid /* [in] [ref] */,
573                                                         enum lsa_TrustDomInfoEnum _level /* [in]  */,
574                                                         union lsa_TrustedDomainInfo *_info /* [in] [ref,switch_is(level)] */);
575 NTSTATUS rpccli_lsa_SetTrustedDomainInfo_recv(struct tevent_req *req,
576                                               TALLOC_CTX *mem_ctx,
577                                               NTSTATUS *result);
578 NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli,
579                                          TALLOC_CTX *mem_ctx,
580                                          struct policy_handle *handle /* [in] [ref] */,
581                                          struct dom_sid2 *dom_sid /* [in] [ref] */,
582                                          enum lsa_TrustDomInfoEnum level /* [in]  */,
583                                          union lsa_TrustedDomainInfo *info /* [in] [ref,switch_is(level)] */);
584 struct tevent_req *rpccli_lsa_DeleteTrustedDomain_send(TALLOC_CTX *mem_ctx,
585                                                        struct tevent_context *ev,
586                                                        struct rpc_pipe_client *cli,
587                                                        struct policy_handle *_handle /* [in] [ref] */,
588                                                        struct dom_sid2 *_dom_sid /* [in] [ref] */);
589 NTSTATUS rpccli_lsa_DeleteTrustedDomain_recv(struct tevent_req *req,
590                                              TALLOC_CTX *mem_ctx,
591                                              NTSTATUS *result);
592 NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli,
593                                         TALLOC_CTX *mem_ctx,
594                                         struct policy_handle *handle /* [in] [ref] */,
595                                         struct dom_sid2 *dom_sid /* [in] [ref] */);
596 struct tevent_req *rpccli_lsa_StorePrivateData_send(TALLOC_CTX *mem_ctx,
597                                                     struct tevent_context *ev,
598                                                     struct rpc_pipe_client *cli,
599                                                     struct policy_handle *_handle /* [in] [ref] */,
600                                                     struct lsa_String *_name /* [in] [ref] */,
601                                                     struct lsa_DATA_BUF *_val /* [in] [unique] */);
602 NTSTATUS rpccli_lsa_StorePrivateData_recv(struct tevent_req *req,
603                                           TALLOC_CTX *mem_ctx,
604                                           NTSTATUS *result);
605 NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli,
606                                      TALLOC_CTX *mem_ctx,
607                                      struct policy_handle *handle /* [in] [ref] */,
608                                      struct lsa_String *name /* [in] [ref] */,
609                                      struct lsa_DATA_BUF *val /* [in] [unique] */);
610 struct tevent_req *rpccli_lsa_RetrievePrivateData_send(TALLOC_CTX *mem_ctx,
611                                                        struct tevent_context *ev,
612                                                        struct rpc_pipe_client *cli,
613                                                        struct policy_handle *_handle /* [in] [ref] */,
614                                                        struct lsa_String *_name /* [in] [ref] */,
615                                                        struct lsa_DATA_BUF **_val /* [in,out] [ref] */);
616 NTSTATUS rpccli_lsa_RetrievePrivateData_recv(struct tevent_req *req,
617                                              TALLOC_CTX *mem_ctx,
618                                              NTSTATUS *result);
619 NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
620                                         TALLOC_CTX *mem_ctx,
621                                         struct policy_handle *handle /* [in] [ref] */,
622                                         struct lsa_String *name /* [in] [ref] */,
623                                         struct lsa_DATA_BUF **val /* [in,out] [ref] */);
624 struct tevent_req *rpccli_lsa_OpenPolicy2_send(TALLOC_CTX *mem_ctx,
625                                                struct tevent_context *ev,
626                                                struct rpc_pipe_client *cli,
627                                                const char *_system_name /* [in] [unique,charset(UTF16)] */,
628                                                struct lsa_ObjectAttribute *_attr /* [in] [ref] */,
629                                                uint32_t _access_mask /* [in]  */,
630                                                struct policy_handle *_handle /* [out] [ref] */);
631 NTSTATUS rpccli_lsa_OpenPolicy2_recv(struct tevent_req *req,
632                                      TALLOC_CTX *mem_ctx,
633                                      NTSTATUS *result);
634 NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
635                                 TALLOC_CTX *mem_ctx,
636                                 const char *system_name /* [in] [unique,charset(UTF16)] */,
637                                 struct lsa_ObjectAttribute *attr /* [in] [ref] */,
638                                 uint32_t access_mask /* [in]  */,
639                                 struct policy_handle *handle /* [out] [ref] */);
640 struct tevent_req *rpccli_lsa_GetUserName_send(TALLOC_CTX *mem_ctx,
641                                                struct tevent_context *ev,
642                                                struct rpc_pipe_client *cli,
643                                                const char *_system_name /* [in] [unique,charset(UTF16)] */,
644                                                struct lsa_String **_account_name /* [in,out] [ref] */,
645                                                struct lsa_String **_authority_name /* [in,out] [unique] */);
646 NTSTATUS rpccli_lsa_GetUserName_recv(struct tevent_req *req,
647                                      TALLOC_CTX *mem_ctx,
648                                      NTSTATUS *result);
649 NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
650                                 TALLOC_CTX *mem_ctx,
651                                 const char *system_name /* [in] [unique,charset(UTF16)] */,
652                                 struct lsa_String **account_name /* [in,out] [ref] */,
653                                 struct lsa_String **authority_name /* [in,out] [unique] */);
654 struct tevent_req *rpccli_lsa_QueryInfoPolicy2_send(TALLOC_CTX *mem_ctx,
655                                                     struct tevent_context *ev,
656                                                     struct rpc_pipe_client *cli,
657                                                     struct policy_handle *_handle /* [in] [ref] */,
658                                                     enum lsa_PolicyInfo _level /* [in]  */,
659                                                     union lsa_PolicyInformation **_info /* [out] [ref,switch_is(level)] */);
660 NTSTATUS rpccli_lsa_QueryInfoPolicy2_recv(struct tevent_req *req,
661                                           TALLOC_CTX *mem_ctx,
662                                           NTSTATUS *result);
663 NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
664                                      TALLOC_CTX *mem_ctx,
665                                      struct policy_handle *handle /* [in] [ref] */,
666                                      enum lsa_PolicyInfo level /* [in]  */,
667                                      union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */);
668 struct tevent_req *rpccli_lsa_SetInfoPolicy2_send(TALLOC_CTX *mem_ctx,
669                                                   struct tevent_context *ev,
670                                                   struct rpc_pipe_client *cli,
671                                                   struct policy_handle *_handle /* [in] [ref] */,
672                                                   enum lsa_PolicyInfo _level /* [in]  */,
673                                                   union lsa_PolicyInformation *_info /* [in] [ref,switch_is(level)] */);
674 NTSTATUS rpccli_lsa_SetInfoPolicy2_recv(struct tevent_req *req,
675                                         TALLOC_CTX *mem_ctx,
676                                         NTSTATUS *result);
677 NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli,
678                                    TALLOC_CTX *mem_ctx,
679                                    struct policy_handle *handle /* [in] [ref] */,
680                                    enum lsa_PolicyInfo level /* [in]  */,
681                                    union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */);
682 struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoByName_send(TALLOC_CTX *mem_ctx,
683                                                                 struct tevent_context *ev,
684                                                                 struct rpc_pipe_client *cli,
685                                                                 struct policy_handle *_handle /* [in] [ref] */,
686                                                                 struct lsa_String *_trusted_domain /* [in] [ref] */,
687                                                                 enum lsa_TrustDomInfoEnum _level /* [in]  */,
688                                                                 union lsa_TrustedDomainInfo **_info /* [out] [ref,switch_is(level)] */);
689 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName_recv(struct tevent_req *req,
690                                                       TALLOC_CTX *mem_ctx,
691                                                       NTSTATUS *result);
692 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
693                                                  TALLOC_CTX *mem_ctx,
694                                                  struct policy_handle *handle /* [in] [ref] */,
695                                                  struct lsa_String *trusted_domain /* [in] [ref] */,
696                                                  enum lsa_TrustDomInfoEnum level /* [in]  */,
697                                                  union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
698 struct tevent_req *rpccli_lsa_SetTrustedDomainInfoByName_send(TALLOC_CTX *mem_ctx,
699                                                               struct tevent_context *ev,
700                                                               struct rpc_pipe_client *cli,
701                                                               struct policy_handle *_handle /* [in] [ref] */,
702                                                               struct lsa_String _trusted_domain /* [in]  */,
703                                                               enum lsa_TrustDomInfoEnum _level /* [in]  */,
704                                                               union lsa_TrustedDomainInfo *_info /* [in] [unique,switch_is(level)] */);
705 NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName_recv(struct tevent_req *req,
706                                                     TALLOC_CTX *mem_ctx,
707                                                     NTSTATUS *result);
708 NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
709                                                TALLOC_CTX *mem_ctx,
710                                                struct policy_handle *handle /* [in] [ref] */,
711                                                struct lsa_String trusted_domain /* [in]  */,
712                                                enum lsa_TrustDomInfoEnum level /* [in]  */,
713                                                union lsa_TrustedDomainInfo *info /* [in] [unique,switch_is(level)] */);
714 struct tevent_req *rpccli_lsa_EnumTrustedDomainsEx_send(TALLOC_CTX *mem_ctx,
715                                                         struct tevent_context *ev,
716                                                         struct rpc_pipe_client *cli,
717                                                         struct policy_handle *_handle /* [in] [ref] */,
718                                                         uint32_t *_resume_handle /* [in,out] [ref] */,
719                                                         struct lsa_DomainListEx *_domains /* [out] [ref] */,
720                                                         uint32_t _max_size /* [in]  */);
721 NTSTATUS rpccli_lsa_EnumTrustedDomainsEx_recv(struct tevent_req *req,
722                                               TALLOC_CTX *mem_ctx,
723                                               NTSTATUS *result);
724 NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli,
725                                          TALLOC_CTX *mem_ctx,
726                                          struct policy_handle *handle /* [in] [ref] */,
727                                          uint32_t *resume_handle /* [in,out] [ref] */,
728                                          struct lsa_DomainListEx *domains /* [out] [ref] */,
729                                          uint32_t max_size /* [in]  */);
730 struct tevent_req *rpccli_lsa_CreateTrustedDomainEx_send(TALLOC_CTX *mem_ctx,
731                                                          struct tevent_context *ev,
732                                                          struct rpc_pipe_client *cli,
733                                                          struct policy_handle *_policy_handle /* [in] [ref] */,
734                                                          struct lsa_TrustDomainInfoInfoEx *_info /* [in] [ref] */,
735                                                          struct lsa_TrustDomainInfoAuthInfoInternal *_auth_info /* [in] [ref] */,
736                                                          uint32_t _access_mask /* [in]  */,
737                                                          struct policy_handle *_trustdom_handle /* [out] [ref] */);
738 NTSTATUS rpccli_lsa_CreateTrustedDomainEx_recv(struct tevent_req *req,
739                                                TALLOC_CTX *mem_ctx,
740                                                NTSTATUS *result);
741 NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli,
742                                           TALLOC_CTX *mem_ctx,
743                                           struct policy_handle *policy_handle /* [in] [ref] */,
744                                           struct lsa_TrustDomainInfoInfoEx *info /* [in] [ref] */,
745                                           struct lsa_TrustDomainInfoAuthInfoInternal *auth_info /* [in] [ref] */,
746                                           uint32_t access_mask /* [in]  */,
747                                           struct policy_handle *trustdom_handle /* [out] [ref] */);
748 struct tevent_req *rpccli_lsa_CloseTrustedDomainEx_send(TALLOC_CTX *mem_ctx,
749                                                         struct tevent_context *ev,
750                                                         struct rpc_pipe_client *cli,
751                                                         struct policy_handle *_handle /* [in,out] [ref] */);
752 NTSTATUS rpccli_lsa_CloseTrustedDomainEx_recv(struct tevent_req *req,
753                                               TALLOC_CTX *mem_ctx,
754                                               NTSTATUS *result);
755 NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli,
756                                          TALLOC_CTX *mem_ctx,
757                                          struct policy_handle *handle /* [in,out] [ref] */);
758 struct tevent_req *rpccli_lsa_QueryDomainInformationPolicy_send(TALLOC_CTX *mem_ctx,
759                                                                 struct tevent_context *ev,
760                                                                 struct rpc_pipe_client *cli,
761                                                                 struct policy_handle *_handle /* [in] [ref] */,
762                                                                 uint16_t _level /* [in]  */,
763                                                                 union lsa_DomainInformationPolicy **_info /* [out] [ref,switch_is(level)] */);
764 NTSTATUS rpccli_lsa_QueryDomainInformationPolicy_recv(struct tevent_req *req,
765                                                       TALLOC_CTX *mem_ctx,
766                                                       NTSTATUS *result);
767 NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
768                                                  TALLOC_CTX *mem_ctx,
769                                                  struct policy_handle *handle /* [in] [ref] */,
770                                                  uint16_t level /* [in]  */,
771                                                  union lsa_DomainInformationPolicy **info /* [out] [ref,switch_is(level)] */);
772 struct tevent_req *rpccli_lsa_SetDomainInformationPolicy_send(TALLOC_CTX *mem_ctx,
773                                                               struct tevent_context *ev,
774                                                               struct rpc_pipe_client *cli,
775                                                               struct policy_handle *_handle /* [in] [ref] */,
776                                                               uint16_t _level /* [in]  */,
777                                                               union lsa_DomainInformationPolicy *_info /* [in] [unique,switch_is(level)] */);
778 NTSTATUS rpccli_lsa_SetDomainInformationPolicy_recv(struct tevent_req *req,
779                                                     TALLOC_CTX *mem_ctx,
780                                                     NTSTATUS *result);
781 NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli,
782                                                TALLOC_CTX *mem_ctx,
783                                                struct policy_handle *handle /* [in] [ref] */,
784                                                uint16_t level /* [in]  */,
785                                                union lsa_DomainInformationPolicy *info /* [in] [unique,switch_is(level)] */);
786 struct tevent_req *rpccli_lsa_OpenTrustedDomainByName_send(TALLOC_CTX *mem_ctx,
787                                                            struct tevent_context *ev,
788                                                            struct rpc_pipe_client *cli,
789                                                            struct policy_handle *_handle /* [in] [ref] */,
790                                                            struct lsa_String _name /* [in]  */,
791                                                            uint32_t _access_mask /* [in]  */,
792                                                            struct policy_handle *_trustdom_handle /* [out] [ref] */);
793 NTSTATUS rpccli_lsa_OpenTrustedDomainByName_recv(struct tevent_req *req,
794                                                  TALLOC_CTX *mem_ctx,
795                                                  NTSTATUS *result);
796 NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli,
797                                             TALLOC_CTX *mem_ctx,
798                                             struct policy_handle *handle /* [in] [ref] */,
799                                             struct lsa_String name /* [in]  */,
800                                             uint32_t access_mask /* [in]  */,
801                                             struct policy_handle *trustdom_handle /* [out] [ref] */);
802 struct tevent_req *rpccli_lsa_TestCall_send(TALLOC_CTX *mem_ctx,
803                                             struct tevent_context *ev,
804                                             struct rpc_pipe_client *cli);
805 NTSTATUS rpccli_lsa_TestCall_recv(struct tevent_req *req,
806                                   TALLOC_CTX *mem_ctx,
807                                   NTSTATUS *result);
808 NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli,
809                              TALLOC_CTX *mem_ctx);
810 struct tevent_req *rpccli_lsa_LookupSids2_send(TALLOC_CTX *mem_ctx,
811                                                struct tevent_context *ev,
812                                                struct rpc_pipe_client *cli,
813                                                struct policy_handle *_handle /* [in] [ref] */,
814                                                struct lsa_SidArray *_sids /* [in] [ref] */,
815                                                struct lsa_RefDomainList **_domains /* [out] [ref] */,
816                                                struct lsa_TransNameArray2 *_names /* [in,out] [ref] */,
817                                                enum lsa_LookupNamesLevel _level /* [in]  */,
818                                                uint32_t *_count /* [in,out] [ref] */,
819                                                enum lsa_LookupOptions _lookup_options /* [in]  */,
820                                                enum lsa_ClientRevision _client_revision /* [in]  */);
821 NTSTATUS rpccli_lsa_LookupSids2_recv(struct tevent_req *req,
822                                      TALLOC_CTX *mem_ctx,
823                                      NTSTATUS *result);
824 NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli,
825                                 TALLOC_CTX *mem_ctx,
826                                 struct policy_handle *handle /* [in] [ref] */,
827                                 struct lsa_SidArray *sids /* [in] [ref] */,
828                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
829                                 struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
830                                 enum lsa_LookupNamesLevel level /* [in]  */,
831                                 uint32_t *count /* [in,out] [ref] */,
832                                 enum lsa_LookupOptions lookup_options /* [in]  */,
833                                 enum lsa_ClientRevision client_revision /* [in]  */);
834 struct tevent_req *rpccli_lsa_LookupNames2_send(TALLOC_CTX *mem_ctx,
835                                                 struct tevent_context *ev,
836                                                 struct rpc_pipe_client *cli,
837                                                 struct policy_handle *_handle /* [in] [ref] */,
838                                                 uint32_t _num_names /* [in] [range(0,1000)] */,
839                                                 struct lsa_String *_names /* [in] [size_is(num_names)] */,
840                                                 struct lsa_RefDomainList **_domains /* [out] [ref] */,
841                                                 struct lsa_TransSidArray2 *_sids /* [in,out] [ref] */,
842                                                 enum lsa_LookupNamesLevel _level /* [in]  */,
843                                                 uint32_t *_count /* [in,out] [ref] */,
844                                                 enum lsa_LookupOptions _lookup_options /* [in]  */,
845                                                 enum lsa_ClientRevision _client_revision /* [in]  */);
846 NTSTATUS rpccli_lsa_LookupNames2_recv(struct tevent_req *req,
847                                       TALLOC_CTX *mem_ctx,
848                                       NTSTATUS *result);
849 NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli,
850                                  TALLOC_CTX *mem_ctx,
851                                  struct policy_handle *handle /* [in] [ref] */,
852                                  uint32_t num_names /* [in] [range(0,1000)] */,
853                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
854                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
855                                  struct lsa_TransSidArray2 *sids /* [in,out] [ref] */,
856                                  enum lsa_LookupNamesLevel level /* [in]  */,
857                                  uint32_t *count /* [in,out] [ref] */,
858                                  enum lsa_LookupOptions lookup_options /* [in]  */,
859                                  enum lsa_ClientRevision client_revision /* [in]  */);
860 struct tevent_req *rpccli_lsa_CreateTrustedDomainEx2_send(TALLOC_CTX *mem_ctx,
861                                                           struct tevent_context *ev,
862                                                           struct rpc_pipe_client *cli,
863                                                           struct policy_handle *_policy_handle /* [in] [ref] */,
864                                                           struct lsa_TrustDomainInfoInfoEx *_info /* [in] [ref] */,
865                                                           struct lsa_TrustDomainInfoAuthInfoInternal *_auth_info /* [in] [ref] */,
866                                                           uint32_t _access_mask /* [in]  */,
867                                                           struct policy_handle *_trustdom_handle /* [out] [ref] */);
868 NTSTATUS rpccli_lsa_CreateTrustedDomainEx2_recv(struct tevent_req *req,
869                                                 TALLOC_CTX *mem_ctx,
870                                                 NTSTATUS *result);
871 NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli,
872                                            TALLOC_CTX *mem_ctx,
873                                            struct policy_handle *policy_handle /* [in] [ref] */,
874                                            struct lsa_TrustDomainInfoInfoEx *info /* [in] [ref] */,
875                                            struct lsa_TrustDomainInfoAuthInfoInternal *auth_info /* [in] [ref] */,
876                                            uint32_t access_mask /* [in]  */,
877                                            struct policy_handle *trustdom_handle /* [out] [ref] */);
878 struct tevent_req *rpccli_lsa_CREDRWRITE_send(TALLOC_CTX *mem_ctx,
879                                               struct tevent_context *ev,
880                                               struct rpc_pipe_client *cli);
881 NTSTATUS rpccli_lsa_CREDRWRITE_recv(struct tevent_req *req,
882                                     TALLOC_CTX *mem_ctx,
883                                     NTSTATUS *result);
884 NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli,
885                                TALLOC_CTX *mem_ctx);
886 struct tevent_req *rpccli_lsa_CREDRREAD_send(TALLOC_CTX *mem_ctx,
887                                              struct tevent_context *ev,
888                                              struct rpc_pipe_client *cli);
889 NTSTATUS rpccli_lsa_CREDRREAD_recv(struct tevent_req *req,
890                                    TALLOC_CTX *mem_ctx,
891                                    NTSTATUS *result);
892 NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli,
893                               TALLOC_CTX *mem_ctx);
894 struct tevent_req *rpccli_lsa_CREDRENUMERATE_send(TALLOC_CTX *mem_ctx,
895                                                   struct tevent_context *ev,
896                                                   struct rpc_pipe_client *cli);
897 NTSTATUS rpccli_lsa_CREDRENUMERATE_recv(struct tevent_req *req,
898                                         TALLOC_CTX *mem_ctx,
899                                         NTSTATUS *result);
900 NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli,
901                                    TALLOC_CTX *mem_ctx);
902 struct tevent_req *rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS_send(TALLOC_CTX *mem_ctx,
903                                                                struct tevent_context *ev,
904                                                                struct rpc_pipe_client *cli);
905 NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS_recv(struct tevent_req *req,
906                                                      TALLOC_CTX *mem_ctx,
907                                                      NTSTATUS *result);
908 NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
909                                                 TALLOC_CTX *mem_ctx);
910 struct tevent_req *rpccli_lsa_CREDRREADDOMAINCREDENTIALS_send(TALLOC_CTX *mem_ctx,
911                                                               struct tevent_context *ev,
912                                                               struct rpc_pipe_client *cli);
913 NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS_recv(struct tevent_req *req,
914                                                     TALLOC_CTX *mem_ctx,
915                                                     NTSTATUS *result);
916 NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
917                                                TALLOC_CTX *mem_ctx);
918 struct tevent_req *rpccli_lsa_CREDRDELETE_send(TALLOC_CTX *mem_ctx,
919                                                struct tevent_context *ev,
920                                                struct rpc_pipe_client *cli);
921 NTSTATUS rpccli_lsa_CREDRDELETE_recv(struct tevent_req *req,
922                                      TALLOC_CTX *mem_ctx,
923                                      NTSTATUS *result);
924 NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli,
925                                 TALLOC_CTX *mem_ctx);
926 struct tevent_req *rpccli_lsa_CREDRGETTARGETINFO_send(TALLOC_CTX *mem_ctx,
927                                                       struct tevent_context *ev,
928                                                       struct rpc_pipe_client *cli);
929 NTSTATUS rpccli_lsa_CREDRGETTARGETINFO_recv(struct tevent_req *req,
930                                             TALLOC_CTX *mem_ctx,
931                                             NTSTATUS *result);
932 NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli,
933                                        TALLOC_CTX *mem_ctx);
934 struct tevent_req *rpccli_lsa_CREDRPROFILELOADED_send(TALLOC_CTX *mem_ctx,
935                                                       struct tevent_context *ev,
936                                                       struct rpc_pipe_client *cli);
937 NTSTATUS rpccli_lsa_CREDRPROFILELOADED_recv(struct tevent_req *req,
938                                             TALLOC_CTX *mem_ctx,
939                                             NTSTATUS *result);
940 NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli,
941                                        TALLOC_CTX *mem_ctx);
942 struct tevent_req *rpccli_lsa_LookupNames3_send(TALLOC_CTX *mem_ctx,
943                                                 struct tevent_context *ev,
944                                                 struct rpc_pipe_client *cli,
945                                                 struct policy_handle *_handle /* [in] [ref] */,
946                                                 uint32_t _num_names /* [in] [range(0,1000)] */,
947                                                 struct lsa_String *_names /* [in] [size_is(num_names)] */,
948                                                 struct lsa_RefDomainList **_domains /* [out] [ref] */,
949                                                 struct lsa_TransSidArray3 *_sids /* [in,out] [ref] */,
950                                                 enum lsa_LookupNamesLevel _level /* [in]  */,
951                                                 uint32_t *_count /* [in,out] [ref] */,
952                                                 enum lsa_LookupOptions _lookup_options /* [in]  */,
953                                                 enum lsa_ClientRevision _client_revision /* [in]  */);
954 NTSTATUS rpccli_lsa_LookupNames3_recv(struct tevent_req *req,
955                                       TALLOC_CTX *mem_ctx,
956                                       NTSTATUS *result);
957 NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli,
958                                  TALLOC_CTX *mem_ctx,
959                                  struct policy_handle *handle /* [in] [ref] */,
960                                  uint32_t num_names /* [in] [range(0,1000)] */,
961                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
962                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
963                                  struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
964                                  enum lsa_LookupNamesLevel level /* [in]  */,
965                                  uint32_t *count /* [in,out] [ref] */,
966                                  enum lsa_LookupOptions lookup_options /* [in]  */,
967                                  enum lsa_ClientRevision client_revision /* [in]  */);
968 struct tevent_req *rpccli_lsa_CREDRGETSESSIONTYPES_send(TALLOC_CTX *mem_ctx,
969                                                         struct tevent_context *ev,
970                                                         struct rpc_pipe_client *cli);
971 NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES_recv(struct tevent_req *req,
972                                               TALLOC_CTX *mem_ctx,
973                                               NTSTATUS *result);
974 NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli,
975                                          TALLOC_CTX *mem_ctx);
976 struct tevent_req *rpccli_lsa_LSARREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx,
977                                                           struct tevent_context *ev,
978                                                           struct rpc_pipe_client *cli);
979 NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT_recv(struct tevent_req *req,
980                                                 TALLOC_CTX *mem_ctx,
981                                                 NTSTATUS *result);
982 NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
983                                            TALLOC_CTX *mem_ctx);
984 struct tevent_req *rpccli_lsa_LSARGENAUDITEVENT_send(TALLOC_CTX *mem_ctx,
985                                                      struct tevent_context *ev,
986                                                      struct rpc_pipe_client *cli);
987 NTSTATUS rpccli_lsa_LSARGENAUDITEVENT_recv(struct tevent_req *req,
988                                            TALLOC_CTX *mem_ctx,
989                                            NTSTATUS *result);
990 NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli,
991                                       TALLOC_CTX *mem_ctx);
992 struct tevent_req *rpccli_lsa_LSARUNREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx,
993                                                             struct tevent_context *ev,
994                                                             struct rpc_pipe_client *cli);
995 NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT_recv(struct tevent_req *req,
996                                                   TALLOC_CTX *mem_ctx,
997                                                   NTSTATUS *result);
998 NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
999                                              TALLOC_CTX *mem_ctx);
1000 struct tevent_req *rpccli_lsa_lsaRQueryForestTrustInformation_send(TALLOC_CTX *mem_ctx,
1001                                                                    struct tevent_context *ev,
1002                                                                    struct rpc_pipe_client *cli,
1003                                                                    struct policy_handle *_handle /* [in] [ref] */,
1004                                                                    struct lsa_String *_trusted_domain_name /* [in] [ref] */,
1005                                                                    uint16_t _unknown /* [in]  */,
1006                                                                    struct lsa_ForestTrustInformation **_forest_trust_info /* [out] [ref] */);
1007 NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation_recv(struct tevent_req *req,
1008                                                          TALLOC_CTX *mem_ctx,
1009                                                          NTSTATUS *result);
1010 NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli,
1011                                                     TALLOC_CTX *mem_ctx,
1012                                                     struct policy_handle *handle /* [in] [ref] */,
1013                                                     struct lsa_String *trusted_domain_name /* [in] [ref] */,
1014                                                     uint16_t unknown /* [in]  */,
1015                                                     struct lsa_ForestTrustInformation **forest_trust_info /* [out] [ref] */);
1016 struct tevent_req *rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_send(TALLOC_CTX *mem_ctx,
1017                                                                  struct tevent_context *ev,
1018                                                                  struct rpc_pipe_client *cli);
1019 NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_recv(struct tevent_req *req,
1020                                                        TALLOC_CTX *mem_ctx,
1021                                                        NTSTATUS *result);
1022 NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli,
1023                                                   TALLOC_CTX *mem_ctx);
1024 struct tevent_req *rpccli_lsa_CREDRRENAME_send(TALLOC_CTX *mem_ctx,
1025                                                struct tevent_context *ev,
1026                                                struct rpc_pipe_client *cli);
1027 NTSTATUS rpccli_lsa_CREDRRENAME_recv(struct tevent_req *req,
1028                                      TALLOC_CTX *mem_ctx,
1029                                      NTSTATUS *result);
1030 NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli,
1031                                 TALLOC_CTX *mem_ctx);
1032 struct tevent_req *rpccli_lsa_LookupSids3_send(TALLOC_CTX *mem_ctx,
1033                                                struct tevent_context *ev,
1034                                                struct rpc_pipe_client *cli,
1035                                                struct lsa_SidArray *_sids /* [in] [ref] */,
1036                                                struct lsa_RefDomainList **_domains /* [out] [ref] */,
1037                                                struct lsa_TransNameArray2 *_names /* [in,out] [ref] */,
1038                                                enum lsa_LookupNamesLevel _level /* [in]  */,
1039                                                uint32_t *_count /* [in,out] [ref] */,
1040                                                enum lsa_LookupOptions _lookup_options /* [in]  */,
1041                                                enum lsa_ClientRevision _client_revision /* [in]  */);
1042 NTSTATUS rpccli_lsa_LookupSids3_recv(struct tevent_req *req,
1043                                      TALLOC_CTX *mem_ctx,
1044                                      NTSTATUS *result);
1045 NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli,
1046                                 TALLOC_CTX *mem_ctx,
1047                                 struct lsa_SidArray *sids /* [in] [ref] */,
1048                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
1049                                 struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
1050                                 enum lsa_LookupNamesLevel level /* [in]  */,
1051                                 uint32_t *count /* [in,out] [ref] */,
1052                                 enum lsa_LookupOptions lookup_options /* [in]  */,
1053                                 enum lsa_ClientRevision client_revision /* [in]  */);
1054 struct tevent_req *rpccli_lsa_LookupNames4_send(TALLOC_CTX *mem_ctx,
1055                                                 struct tevent_context *ev,
1056                                                 struct rpc_pipe_client *cli,
1057                                                 uint32_t _num_names /* [in] [range(0,1000)] */,
1058                                                 struct lsa_String *_names /* [in] [size_is(num_names)] */,
1059                                                 struct lsa_RefDomainList **_domains /* [out] [ref] */,
1060                                                 struct lsa_TransSidArray3 *_sids /* [in,out] [ref] */,
1061                                                 enum lsa_LookupNamesLevel _level /* [in]  */,
1062                                                 uint32_t *_count /* [in,out] [ref] */,
1063                                                 enum lsa_LookupOptions _lookup_options /* [in]  */,
1064                                                 enum lsa_ClientRevision _client_revision /* [in]  */);
1065 NTSTATUS rpccli_lsa_LookupNames4_recv(struct tevent_req *req,
1066                                       TALLOC_CTX *mem_ctx,
1067                                       NTSTATUS *result);
1068 NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli,
1069                                  TALLOC_CTX *mem_ctx,
1070                                  uint32_t num_names /* [in] [range(0,1000)] */,
1071                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
1072                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
1073                                  struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
1074                                  enum lsa_LookupNamesLevel level /* [in]  */,
1075                                  uint32_t *count /* [in,out] [ref] */,
1076                                  enum lsa_LookupOptions lookup_options /* [in]  */,
1077                                  enum lsa_ClientRevision client_revision /* [in]  */);
1078 struct tevent_req *rpccli_lsa_LSAROPENPOLICYSCE_send(TALLOC_CTX *mem_ctx,
1079                                                      struct tevent_context *ev,
1080                                                      struct rpc_pipe_client *cli);
1081 NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE_recv(struct tevent_req *req,
1082                                            TALLOC_CTX *mem_ctx,
1083                                            NTSTATUS *result);
1084 NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli,
1085                                       TALLOC_CTX *mem_ctx);
1086 struct tevent_req *rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE_send(TALLOC_CTX *mem_ctx,
1087                                                                       struct tevent_context *ev,
1088                                                                       struct rpc_pipe_client *cli);
1089 NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE_recv(struct tevent_req *req,
1090                                                             TALLOC_CTX *mem_ctx,
1091                                                             NTSTATUS *result);
1092 NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *cli,
1093                                                        TALLOC_CTX *mem_ctx);
1094 struct tevent_req *rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE_send(TALLOC_CTX *mem_ctx,
1095                                                                         struct tevent_context *ev,
1096                                                                         struct rpc_pipe_client *cli);
1097 NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE_recv(struct tevent_req *req,
1098                                                               TALLOC_CTX *mem_ctx,
1099                                                               NTSTATUS *result);
1100 NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *cli,
1101                                                          TALLOC_CTX *mem_ctx);
1102 struct tevent_req *rpccli_lsa_LSARADTREPORTSECURITYEVENT_send(TALLOC_CTX *mem_ctx,
1103                                                               struct tevent_context *ev,
1104                                                               struct rpc_pipe_client *cli);
1105 NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT_recv(struct tevent_req *req,
1106                                                     TALLOC_CTX *mem_ctx,
1107                                                     NTSTATUS *result);
1108 NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli,
1109                                                TALLOC_CTX *mem_ctx);
1110 #endif /* __CLI_LSARPC__ */