svcctl: move SVC_STATUS_ to idl.
[kai/samba-autobuild/.git] / librpc / gen_ndr / cli_lsa.h
1 #include "../librpc/gen_ndr/ndr_lsa.h"
2 #ifndef __CLI_LSARPC__
3 #define __CLI_LSARPC__
4 NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
5                           TALLOC_CTX *mem_ctx,
6                           struct policy_handle *handle /* [in,out] [ref] */);
7 NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli,
8                            TALLOC_CTX *mem_ctx,
9                            struct policy_handle *handle /* [in] [ref] */);
10 NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli,
11                               TALLOC_CTX *mem_ctx,
12                               struct policy_handle *handle /* [in] [ref] */,
13                               uint32_t *resume_handle /* [in,out] [ref] */,
14                               struct lsa_PrivArray *privs /* [out] [ref] */,
15                               uint32_t max_count /* [in]  */);
16 NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli,
17                                   TALLOC_CTX *mem_ctx,
18                                   struct policy_handle *handle /* [in] [ref] */,
19                                   uint32_t sec_info /* [in]  */,
20                                   struct sec_desc_buf **sdbuf /* [out] [ref] */);
21 NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli,
22                               TALLOC_CTX *mem_ctx,
23                               struct policy_handle *handle /* [in] [ref] */,
24                               uint32_t sec_info /* [in]  */,
25                               struct sec_desc_buf *sdbuf /* [in] [ref] */);
26 NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli,
27                                    TALLOC_CTX *mem_ctx);
28 NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli,
29                                TALLOC_CTX *mem_ctx,
30                                uint16_t *system_name /* [in] [unique] */,
31                                struct lsa_ObjectAttribute *attr /* [in] [ref] */,
32                                uint32_t access_mask /* [in]  */,
33                                struct policy_handle *handle /* [out] [ref] */);
34 NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
35                                     TALLOC_CTX *mem_ctx,
36                                     struct policy_handle *handle /* [in] [ref] */,
37                                     enum lsa_PolicyInfo level /* [in]  */,
38                                     union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */);
39 NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli,
40                                   TALLOC_CTX *mem_ctx,
41                                   struct policy_handle *handle /* [in] [ref] */,
42                                   enum lsa_PolicyInfo level /* [in]  */,
43                                   union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */);
44 NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli,
45                                   TALLOC_CTX *mem_ctx);
46 NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli,
47                                   TALLOC_CTX *mem_ctx,
48                                   struct policy_handle *handle /* [in] [ref] */,
49                                   struct dom_sid2 *sid /* [in] [ref] */,
50                                   uint32_t access_mask /* [in]  */,
51                                   struct policy_handle *acct_handle /* [out] [ref] */);
52 NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli,
53                                  TALLOC_CTX *mem_ctx,
54                                  struct policy_handle *handle /* [in] [ref] */,
55                                  uint32_t *resume_handle /* [in,out] [ref] */,
56                                  struct lsa_SidArray *sids /* [out] [ref] */,
57                                  uint32_t num_entries /* [in] [range(0,8192)] */);
58 NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli,
59                                         TALLOC_CTX *mem_ctx,
60                                         struct policy_handle *policy_handle /* [in] [ref] */,
61                                         struct lsa_DomainInfo *info /* [in] [ref] */,
62                                         uint32_t access_mask /* [in]  */,
63                                         struct policy_handle *trustdom_handle /* [out] [ref] */);
64 NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli,
65                                  TALLOC_CTX *mem_ctx,
66                                  struct policy_handle *handle /* [in] [ref] */,
67                                  uint32_t *resume_handle /* [in,out] [ref] */,
68                                  struct lsa_DomainList *domains /* [out] [ref] */,
69                                  uint32_t max_size /* [in]  */);
70 NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli,
71                                 TALLOC_CTX *mem_ctx,
72                                 struct policy_handle *handle /* [in] [ref] */,
73                                 uint32_t num_names /* [in] [range(0,1000)] */,
74                                 struct lsa_String *names /* [in] [size_is(num_names)] */,
75                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
76                                 struct lsa_TransSidArray *sids /* [in,out] [ref] */,
77                                 enum lsa_LookupNamesLevel level /* [in]  */,
78                                 uint32_t *count /* [in,out] [ref] */);
79 NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli,
80                                TALLOC_CTX *mem_ctx,
81                                struct policy_handle *handle /* [in] [ref] */,
82                                struct lsa_SidArray *sids /* [in] [ref] */,
83                                struct lsa_RefDomainList **domains /* [out] [ref] */,
84                                struct lsa_TransNameArray *names /* [in,out] [ref] */,
85                                uint16_t level /* [in]  */,
86                                uint32_t *count /* [in,out] [ref] */);
87 NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli,
88                                  TALLOC_CTX *mem_ctx,
89                                  struct policy_handle *handle /* [in] [ref] */,
90                                  struct lsa_String name /* [in]  */,
91                                  uint32_t access_mask /* [in]  */,
92                                  struct policy_handle *sec_handle /* [out] [ref] */);
93 NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli,
94                                 TALLOC_CTX *mem_ctx,
95                                 struct policy_handle *handle /* [in] [ref] */,
96                                 struct dom_sid2 *sid /* [in] [ref] */,
97                                 uint32_t access_mask /* [in]  */,
98                                 struct policy_handle *acct_handle /* [out] [ref] */);
99 NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli,
100                                      TALLOC_CTX *mem_ctx,
101                                      struct policy_handle *handle /* [in] [ref] */,
102                                      struct lsa_PrivilegeSet **privs /* [out] [ref] */);
103 NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli,
104                                            TALLOC_CTX *mem_ctx,
105                                            struct policy_handle *handle /* [in] [ref] */,
106                                            struct lsa_PrivilegeSet *privs /* [in] [ref] */);
107 NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli,
108                                                 TALLOC_CTX *mem_ctx,
109                                                 struct policy_handle *handle /* [in] [ref] */,
110                                                 uint8_t remove_all /* [in]  */,
111                                                 struct lsa_PrivilegeSet *privs /* [in] [unique] */);
112 NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli,
113                                         TALLOC_CTX *mem_ctx);
114 NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli,
115                                         TALLOC_CTX *mem_ctx);
116 NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli,
117                                            TALLOC_CTX *mem_ctx,
118                                            struct policy_handle *handle /* [in] [ref] */,
119                                            uint32_t *access_mask /* [out] [ref] */);
120 NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli,
121                                            TALLOC_CTX *mem_ctx,
122                                            struct policy_handle *handle /* [in] [ref] */,
123                                            uint32_t access_mask /* [in]  */);
124 NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli,
125                                       TALLOC_CTX *mem_ctx,
126                                       struct policy_handle *handle /* [in] [ref] */,
127                                       struct dom_sid2 *sid /* [in] [ref] */,
128                                       uint32_t access_mask /* [in]  */,
129                                       struct policy_handle *trustdom_handle /* [out] [ref] */);
130 NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli,
131                                            TALLOC_CTX *mem_ctx,
132                                            struct policy_handle *trustdom_handle /* [in] [ref] */,
133                                            enum lsa_TrustDomInfoEnum level /* [in]  */,
134                                            union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
135 NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli,
136                                                 TALLOC_CTX *mem_ctx,
137                                                 struct policy_handle *trustdom_handle /* [in] [ref] */,
138                                                 enum lsa_TrustDomInfoEnum level /* [in]  */,
139                                                 union lsa_TrustedDomainInfo *info /* [in] [ref,switch_is(level)] */);
140 NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli,
141                                TALLOC_CTX *mem_ctx,
142                                struct policy_handle *handle /* [in] [ref] */,
143                                struct lsa_String name /* [in]  */,
144                                uint32_t access_mask /* [in]  */,
145                                struct policy_handle *sec_handle /* [out] [ref] */);
146 NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli,
147                               TALLOC_CTX *mem_ctx,
148                               struct policy_handle *sec_handle /* [in] [ref] */,
149                               struct lsa_DATA_BUF *new_val /* [in] [unique] */,
150                               struct lsa_DATA_BUF *old_val /* [in] [unique] */);
151 NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli,
152                                 TALLOC_CTX *mem_ctx,
153                                 struct policy_handle *sec_handle /* [in] [ref] */,
154                                 struct lsa_DATA_BUF_PTR *new_val /* [in,out] [unique] */,
155                                 NTTIME *new_mtime /* [in,out] [unique] */,
156                                 struct lsa_DATA_BUF_PTR *old_val /* [in,out] [unique] */,
157                                 NTTIME *old_mtime /* [in,out] [unique] */);
158 NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli,
159                                     TALLOC_CTX *mem_ctx,
160                                     struct policy_handle *handle /* [in] [ref] */,
161                                     struct lsa_String *name /* [in] [ref] */,
162                                     struct lsa_LUID *luid /* [out] [ref] */);
163 NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli,
164                                    TALLOC_CTX *mem_ctx,
165                                    struct policy_handle *handle /* [in] [ref] */,
166                                    struct lsa_LUID *luid /* [in] [ref] */,
167                                    struct lsa_StringLarge **name /* [out] [ref] */);
168 NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli,
169                                           TALLOC_CTX *mem_ctx,
170                                           struct policy_handle *handle /* [in] [ref] */,
171                                           struct lsa_String *name /* [in] [ref] */,
172                                           uint16_t language_id /* [in]  */,
173                                           uint16_t language_id_sys /* [in]  */,
174                                           struct lsa_StringLarge **disp_name /* [out] [ref] */,
175                                           uint16_t *returned_language_id /* [out] [ref] */);
176 NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli,
177                                  TALLOC_CTX *mem_ctx,
178                                  struct policy_handle *handle /* [in,out] [ref] */);
179 NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli,
180                                               TALLOC_CTX *mem_ctx,
181                                               struct policy_handle *handle /* [in] [ref] */,
182                                               struct lsa_String *name /* [in] [unique] */,
183                                               struct lsa_SidArray *sids /* [out] [ref] */);
184 NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli,
185                                       TALLOC_CTX *mem_ctx,
186                                       struct policy_handle *handle /* [in] [ref] */,
187                                       struct dom_sid2 *sid /* [in] [ref] */,
188                                       struct lsa_RightSet *rights /* [out] [ref] */);
189 NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli,
190                                      TALLOC_CTX *mem_ctx,
191                                      struct policy_handle *handle /* [in] [ref] */,
192                                      struct dom_sid2 *sid /* [in] [ref] */,
193                                      struct lsa_RightSet *rights /* [in] [ref] */);
194 NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
195                                         TALLOC_CTX *mem_ctx,
196                                         struct policy_handle *handle /* [in] [ref] */,
197                                         struct dom_sid2 *sid /* [in] [ref] */,
198                                         uint8_t remove_all /* [in]  */,
199                                         struct lsa_RightSet *rights /* [in] [ref] */);
200 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
201                                                 TALLOC_CTX *mem_ctx,
202                                                 struct policy_handle *handle /* [in] [ref] */,
203                                                 struct dom_sid2 *dom_sid /* [in] [ref] */,
204                                                 enum lsa_TrustDomInfoEnum level /* [in]  */,
205                                                 union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
206 NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli,
207                                          TALLOC_CTX *mem_ctx,
208                                          struct policy_handle *handle /* [in] [ref] */,
209                                          struct dom_sid2 *dom_sid /* [in] [ref] */,
210                                          enum lsa_TrustDomInfoEnum level /* [in]  */,
211                                          union lsa_TrustedDomainInfo *info /* [in] [ref,switch_is(level)] */);
212 NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli,
213                                         TALLOC_CTX *mem_ctx,
214                                         struct policy_handle *handle /* [in] [ref] */,
215                                         struct dom_sid2 *dom_sid /* [in] [ref] */);
216 NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli,
217                                      TALLOC_CTX *mem_ctx);
218 NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
219                                         TALLOC_CTX *mem_ctx);
220 NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
221                                 TALLOC_CTX *mem_ctx,
222                                 const char *system_name /* [in] [unique,charset(UTF16)] */,
223                                 struct lsa_ObjectAttribute *attr /* [in] [ref] */,
224                                 uint32_t access_mask /* [in]  */,
225                                 struct policy_handle *handle /* [out] [ref] */);
226 NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
227                                 TALLOC_CTX *mem_ctx,
228                                 const char *system_name /* [in] [unique,charset(UTF16)] */,
229                                 struct lsa_String **account_name /* [in,out] [ref] */,
230                                 struct lsa_String **authority_name /* [in,out] [unique] */);
231 NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
232                                      TALLOC_CTX *mem_ctx,
233                                      struct policy_handle *handle /* [in] [ref] */,
234                                      enum lsa_PolicyInfo level /* [in]  */,
235                                      union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */);
236 NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli,
237                                    TALLOC_CTX *mem_ctx,
238                                    struct policy_handle *handle /* [in] [ref] */,
239                                    enum lsa_PolicyInfo level /* [in]  */,
240                                    union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */);
241 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
242                                                  TALLOC_CTX *mem_ctx,
243                                                  struct policy_handle *handle /* [in] [ref] */,
244                                                  struct lsa_String *trusted_domain /* [in] [ref] */,
245                                                  enum lsa_TrustDomInfoEnum level /* [in]  */,
246                                                  union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */);
247 NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
248                                                TALLOC_CTX *mem_ctx,
249                                                struct policy_handle *handle /* [in] [ref] */,
250                                                struct lsa_String trusted_domain /* [in]  */,
251                                                enum lsa_TrustDomInfoEnum level /* [in]  */,
252                                                union lsa_TrustedDomainInfo *info /* [in] [unique,switch_is(level)] */);
253 NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli,
254                                          TALLOC_CTX *mem_ctx,
255                                          struct policy_handle *handle /* [in] [ref] */,
256                                          uint32_t *resume_handle /* [in,out] [ref] */,
257                                          struct lsa_DomainListEx *domains /* [out] [ref] */,
258                                          uint32_t max_size /* [in]  */);
259 NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli,
260                                           TALLOC_CTX *mem_ctx,
261                                           struct policy_handle *policy_handle /* [in] [ref] */,
262                                           struct lsa_TrustDomainInfoInfoEx *info /* [in] [ref] */,
263                                           struct lsa_TrustDomainInfoAuthInfoInternal *auth_info /* [in] [ref] */,
264                                           uint32_t access_mask /* [in]  */,
265                                           struct policy_handle *trustdom_handle /* [out] [ref] */);
266 NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli,
267                                          TALLOC_CTX *mem_ctx,
268                                          struct policy_handle *handle /* [in,out] [ref] */);
269 NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
270                                                  TALLOC_CTX *mem_ctx,
271                                                  struct policy_handle *handle /* [in] [ref] */,
272                                                  uint16_t level /* [in]  */,
273                                                  union lsa_DomainInformationPolicy **info /* [out] [ref,switch_is(level)] */);
274 NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli,
275                                                TALLOC_CTX *mem_ctx,
276                                                struct policy_handle *handle /* [in] [ref] */,
277                                                uint16_t level /* [in]  */,
278                                                union lsa_DomainInformationPolicy *info /* [in] [unique,switch_is(level)] */);
279 NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli,
280                                             TALLOC_CTX *mem_ctx,
281                                             struct policy_handle *handle /* [in] [ref] */,
282                                             struct lsa_String name /* [in]  */,
283                                             uint32_t access_mask /* [in]  */,
284                                             struct policy_handle *trustdom_handle /* [out] [ref] */);
285 NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli,
286                              TALLOC_CTX *mem_ctx);
287 NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli,
288                                 TALLOC_CTX *mem_ctx,
289                                 struct policy_handle *handle /* [in] [ref] */,
290                                 struct lsa_SidArray *sids /* [in] [ref] */,
291                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
292                                 struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
293                                 uint16_t level /* [in]  */,
294                                 uint32_t *count /* [in,out] [ref] */,
295                                 uint32_t unknown1 /* [in]  */,
296                                 uint32_t unknown2 /* [in]  */);
297 NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli,
298                                  TALLOC_CTX *mem_ctx,
299                                  struct policy_handle *handle /* [in] [ref] */,
300                                  uint32_t num_names /* [in] [range(0,1000)] */,
301                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
302                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
303                                  struct lsa_TransSidArray2 *sids /* [in,out] [ref] */,
304                                  enum lsa_LookupNamesLevel level /* [in]  */,
305                                  uint32_t *count /* [in,out] [ref] */,
306                                  uint32_t lookup_options /* [in]  */,
307                                  uint32_t client_revision /* [in]  */);
308 NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli,
309                                            TALLOC_CTX *mem_ctx,
310                                            struct policy_handle *policy_handle /* [in] [ref] */,
311                                            struct lsa_TrustDomainInfoInfoEx *info /* [in] [ref] */,
312                                            struct lsa_TrustDomainInfoAuthInfoInternal *auth_info /* [in] [ref] */,
313                                            uint32_t access_mask /* [in]  */,
314                                            struct policy_handle *trustdom_handle /* [out] [ref] */);
315 NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli,
316                                TALLOC_CTX *mem_ctx);
317 NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli,
318                               TALLOC_CTX *mem_ctx);
319 NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli,
320                                    TALLOC_CTX *mem_ctx);
321 NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
322                                                 TALLOC_CTX *mem_ctx);
323 NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
324                                                TALLOC_CTX *mem_ctx);
325 NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli,
326                                 TALLOC_CTX *mem_ctx);
327 NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli,
328                                        TALLOC_CTX *mem_ctx);
329 NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli,
330                                        TALLOC_CTX *mem_ctx);
331 NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli,
332                                  TALLOC_CTX *mem_ctx,
333                                  struct policy_handle *handle /* [in] [ref] */,
334                                  uint32_t num_names /* [in] [range(0,1000)] */,
335                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
336                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
337                                  struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
338                                  enum lsa_LookupNamesLevel level /* [in]  */,
339                                  uint32_t *count /* [in,out] [ref] */,
340                                  uint32_t lookup_options /* [in]  */,
341                                  uint32_t client_revision /* [in]  */);
342 NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli,
343                                          TALLOC_CTX *mem_ctx);
344 NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
345                                            TALLOC_CTX *mem_ctx);
346 NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli,
347                                       TALLOC_CTX *mem_ctx);
348 NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
349                                              TALLOC_CTX *mem_ctx);
350 NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli,
351                                                     TALLOC_CTX *mem_ctx,
352                                                     struct policy_handle *handle /* [in] [ref] */,
353                                                     struct lsa_String *trusted_domain_name /* [in] [ref] */,
354                                                     uint16_t unknown /* [in]  */,
355                                                     struct lsa_ForestTrustInformation **forest_trust_info /* [out] [ref] */);
356 NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli,
357                                                   TALLOC_CTX *mem_ctx);
358 NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli,
359                                 TALLOC_CTX *mem_ctx);
360 NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli,
361                                 TALLOC_CTX *mem_ctx,
362                                 struct lsa_SidArray *sids /* [in] [ref] */,
363                                 struct lsa_RefDomainList **domains /* [out] [ref] */,
364                                 struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
365                                 uint16_t level /* [in]  */,
366                                 uint32_t *count /* [in,out] [ref] */,
367                                 uint32_t unknown1 /* [in]  */,
368                                 uint32_t unknown2 /* [in]  */);
369 NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli,
370                                  TALLOC_CTX *mem_ctx,
371                                  uint32_t num_names /* [in] [range(0,1000)] */,
372                                  struct lsa_String *names /* [in] [size_is(num_names)] */,
373                                  struct lsa_RefDomainList **domains /* [out] [ref] */,
374                                  struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
375                                  enum lsa_LookupNamesLevel level /* [in]  */,
376                                  uint32_t *count /* [in,out] [ref] */,
377                                  uint32_t lookup_options /* [in]  */,
378                                  uint32_t client_revision /* [in]  */);
379 NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli,
380                                       TALLOC_CTX *mem_ctx);
381 NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *cli,
382                                                        TALLOC_CTX *mem_ctx);
383 NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *cli,
384                                                          TALLOC_CTX *mem_ctx);
385 NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli,
386                                                TALLOC_CTX *mem_ctx);
387 #endif /* __CLI_LSARPC__ */