librpc: rerun 'PIDL=pidl/pidl make idl'
[Samba.git] / source / librpc / gen_ndr / cli_netlogon.h
blob1d0df0b74d427a02f2b21c461f9bdc04b63f85f5
1 #include "librpc/gen_ndr/ndr_netlogon.h"
2 #ifndef __CLI_NETLOGON__
3 #define __CLI_NETLOGON__
4 NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli,
5 TALLOC_CTX *mem_ctx,
6 const char *server_name /* [in] [unique,charset(UTF16)] */,
7 const char *account_name /* [in] [charset(UTF16)] */,
8 const char *workstation /* [in] [charset(UTF16)] */,
9 struct netr_UasInfo *info /* [out] [ref] */,
10 WERROR *werror);
11 NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli,
12 TALLOC_CTX *mem_ctx,
13 const char *server_name /* [in] [unique,charset(UTF16)] */,
14 const char *account_name /* [in] [charset(UTF16)] */,
15 const char *workstation /* [in] [charset(UTF16)] */,
16 struct netr_UasLogoffInfo *info /* [out] [ref] */,
17 WERROR *werror);
18 NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli,
19 TALLOC_CTX *mem_ctx,
20 const char *server_name /* [in] [unique,charset(UTF16)] */,
21 const char *computer_name /* [in] [unique,charset(UTF16)] */,
22 struct netr_Authenticator *credential /* [in] [unique] */,
23 struct netr_Authenticator *return_authenticator /* [in,out] [unique] */,
24 enum netr_LogonLevel logon_level /* [in] */,
25 union netr_LogonInfo *logon /* [in] [ref,switch_is(logon_level)] */,
26 uint16_t validation_level /* [in] */,
27 union netr_Validation *validation /* [out] [ref,switch_is(validation_level)] */,
28 uint8_t *authoritative /* [out] [ref] */);
29 NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli,
30 TALLOC_CTX *mem_ctx,
31 const char *server_name /* [in] [unique,charset(UTF16)] */,
32 const char *computer_name /* [in] [unique,charset(UTF16)] */,
33 struct netr_Authenticator *credential /* [in] [unique] */,
34 struct netr_Authenticator *return_authenticator /* [in,out] [unique] */,
35 enum netr_LogonLevel logon_level /* [in] */,
36 union netr_LogonInfo logon /* [in] [switch_is(logon_level)] */);
37 NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli,
38 TALLOC_CTX *mem_ctx,
39 const char *server_name /* [in] [unique,charset(UTF16)] */,
40 const char *computer_name /* [in] [charset(UTF16)] */,
41 struct netr_Credential *credentials /* [in] [ref] */,
42 struct netr_Credential *return_credentials /* [out] [ref] */);
43 NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli,
44 TALLOC_CTX *mem_ctx,
45 const char *server_name /* [in] [unique,charset(UTF16)] */,
46 const char *account_name /* [in] [charset(UTF16)] */,
47 enum netr_SchannelType secure_channel_type /* [in] */,
48 const char *computer_name /* [in] [charset(UTF16)] */,
49 struct netr_Credential *credentials /* [in] [ref] */,
50 struct netr_Credential *return_credentials /* [out] [ref] */);
51 NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli,
52 TALLOC_CTX *mem_ctx,
53 const char *server_name /* [in] [unique,charset(UTF16)] */,
54 const char *account_name /* [in] [charset(UTF16)] */,
55 enum netr_SchannelType secure_channel_type /* [in] */,
56 const char *computer_name /* [in] [charset(UTF16)] */,
57 struct netr_Authenticator *credential /* [in] [ref] */,
58 struct netr_Authenticator *return_authenticator /* [out] [ref] */,
59 struct samr_Password *new_password /* [in] [ref] */);
60 NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli,
61 TALLOC_CTX *mem_ctx,
62 const char *logon_server /* [in] [charset(UTF16)] */,
63 const char *computername /* [in] [charset(UTF16)] */,
64 struct netr_Authenticator *credential /* [in] [ref] */,
65 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
66 enum netr_SamDatabaseID database_id /* [in] */,
67 uint64_t *sequence_num /* [in,out] [ref] */,
68 struct netr_DELTA_ENUM_ARRAY **delta_enum_array /* [out] [ref] */,
69 uint32_t preferredmaximumlength /* [in] */);
70 NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli,
71 TALLOC_CTX *mem_ctx,
72 const char *logon_server /* [in] [charset(UTF16)] */,
73 const char *computername /* [in] [charset(UTF16)] */,
74 struct netr_Authenticator credential /* [in] */,
75 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
76 enum netr_SamDatabaseID database_id /* [in] */,
77 uint32_t *sync_context /* [in,out] [ref] */,
78 uint32_t preferredmaximumlength /* [in] */,
79 struct netr_DELTA_ENUM_ARRAY *delta_enum_array /* [out] [ref] */);
80 NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli,
81 TALLOC_CTX *mem_ctx,
82 const char *logon_server /* [in] [unique,charset(UTF16)] */,
83 const char *computername /* [in] [charset(UTF16)] */,
84 struct netr_Authenticator credential /* [in] */,
85 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
86 struct netr_UAS_INFO_0 uas /* [in] */,
87 uint32_t count /* [in] */,
88 uint32_t level /* [in] */,
89 uint32_t buffersize /* [in] */,
90 struct netr_AccountBuffer *buffer /* [out] [ref,subcontext(4)] */,
91 uint32_t *count_returned /* [out] [ref] */,
92 uint32_t *total_entries /* [out] [ref] */,
93 struct netr_UAS_INFO_0 *recordid /* [out] [ref] */);
94 NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli,
95 TALLOC_CTX *mem_ctx,
96 const char *logon_server /* [in] [unique,charset(UTF16)] */,
97 const char *computername /* [in] [charset(UTF16)] */,
98 struct netr_Authenticator credential /* [in] */,
99 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
100 uint32_t reference /* [in] */,
101 uint32_t level /* [in] */,
102 uint32_t buffersize /* [in] */,
103 struct netr_AccountBuffer *buffer /* [out] [ref,subcontext(4)] */,
104 uint32_t *count_returned /* [out] [ref] */,
105 uint32_t *total_entries /* [out] [ref] */,
106 uint32_t *next_reference /* [out] [ref] */,
107 struct netr_UAS_INFO_0 *recordid /* [in,out] [ref] */);
108 NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli,
109 TALLOC_CTX *mem_ctx,
110 const char *logon_server /* [in] [charset(UTF16)] */,
111 const char *domainname /* [in] [unique,charset(UTF16)] */,
112 const char **dcname /* [out] [ref,charset(UTF16)] */,
113 WERROR *werror);
114 NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli,
115 TALLOC_CTX *mem_ctx,
116 const char *logon_server /* [in] [unique,charset(UTF16)] */,
117 enum netr_LogonControlCode function_code /* [in] */,
118 uint32_t level /* [in] */,
119 union netr_CONTROL_QUERY_INFORMATION *info /* [out] [ref,switch_is(level)] */,
120 WERROR *werror);
121 NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
122 TALLOC_CTX *mem_ctx,
123 const char *logon_server /* [in] [unique,charset(UTF16)] */,
124 const char *domainname /* [in] [unique,charset(UTF16)] */,
125 const char **dcname /* [out] [ref,charset(UTF16)] */,
126 WERROR *werror);
127 NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
128 TALLOC_CTX *mem_ctx,
129 const char *logon_server /* [in] [unique,charset(UTF16)] */,
130 enum netr_LogonControlCode function_code /* [in] */,
131 uint32_t level /* [in] */,
132 union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
133 union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
134 WERROR *werror);
135 NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli,
136 TALLOC_CTX *mem_ctx,
137 const char *server_name /* [in] [unique,charset(UTF16)] */,
138 const char *account_name /* [in] [charset(UTF16)] */,
139 enum netr_SchannelType secure_channel_type /* [in] */,
140 const char *computer_name /* [in] [charset(UTF16)] */,
141 struct netr_Credential *credentials /* [in] [ref] */,
142 struct netr_Credential *return_credentials /* [out] [ref] */,
143 uint32_t *negotiate_flags /* [in,out] [ref] */);
144 NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli,
145 TALLOC_CTX *mem_ctx,
146 const char *logon_server /* [in] [charset(UTF16)] */,
147 const char *computername /* [in] [charset(UTF16)] */,
148 struct netr_Authenticator *credential /* [in] [ref] */,
149 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
150 enum netr_SamDatabaseID database_id /* [in] */,
151 uint16_t restart_state /* [in] */,
152 uint32_t *sync_context /* [in,out] [ref] */,
153 struct netr_DELTA_ENUM_ARRAY **delta_enum_array /* [out] [ref] */,
154 uint32_t preferredmaximumlength /* [in] */);
155 NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli,
156 TALLOC_CTX *mem_ctx,
157 const char *logon_server /* [in] [charset(UTF16)] */,
158 const char *computername /* [in] [charset(UTF16)] */,
159 struct netr_Authenticator *credential /* [in] [ref] */,
160 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
161 struct netr_ChangeLogEntry change_log_entry /* [in] [subcontext_size(change_log_entry_size),subcontext(4)] */,
162 uint32_t change_log_entry_size /* [in] [value(ndr_size_netr_ChangeLogEntry(&change_log_entry,ndr->flags))] */,
163 struct netr_DELTA_ENUM_ARRAY **delta_enum_array /* [out] [ref] */);
164 NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli,
165 TALLOC_CTX *mem_ctx,
166 const char *logon_server /* [in] [unique,charset(UTF16)] */,
167 uint32_t function_code /* [in] */,
168 uint32_t level /* [in] */,
169 union netr_CONTROL_DATA_INFORMATION data /* [in] [switch_is(function_code)] */,
170 union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
171 WERROR *werror);
172 NTSTATUS rpccli_netr_NetrEnumerateTrustedDomains(struct rpc_pipe_client *cli,
173 TALLOC_CTX *mem_ctx,
174 const char *server_name /* [in] [unique,charset(UTF16)] */,
175 struct netr_Blob *trusted_domains_blob /* [out] [ref] */,
176 WERROR *werror);
177 NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli,
178 TALLOC_CTX *mem_ctx,
179 const char *server_unc /* [in] [unique,charset(UTF16)] */,
180 const char *domain_name /* [in] [unique,charset(UTF16)] */,
181 struct GUID *domain_guid /* [in] [unique] */,
182 struct GUID *site_guid /* [in] [unique] */,
183 uint32_t flags /* [in] */,
184 struct netr_DsRGetDCNameInfo **info /* [out] [ref] */,
185 WERROR *werror);
186 NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli,
187 TALLOC_CTX *mem_ctx,
188 const char *server_name /* [in] [charset(UTF16)] */,
189 const char *computer_name /* [in] [unique,charset(UTF16)] */,
190 struct netr_Authenticator *credential /* [in] [ref] */,
191 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
192 uint32_t query_level /* [in] */,
193 union netr_Capabilities *capabilities /* [out] [ref,switch_is(query_level)] */);
194 NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli,
195 TALLOC_CTX *mem_ctx,
196 WERROR *werror);
197 NTSTATUS rpccli_netr_LogonGetTrustRid(struct rpc_pipe_client *cli,
198 TALLOC_CTX *mem_ctx,
199 const char *server_name /* [in] [unique,charset(UTF16)] */,
200 const char *domain_name /* [in] [unique,charset(UTF16)] */,
201 uint32_t *rid /* [out] [ref] */,
202 WERROR *werror);
203 NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli,
204 TALLOC_CTX *mem_ctx,
205 WERROR *werror);
206 NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli,
207 TALLOC_CTX *mem_ctx,
208 WERROR *werror);
209 NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli,
210 TALLOC_CTX *mem_ctx,
211 const char *server_name /* [in] [unique,charset(UTF16)] */,
212 const char *account_name /* [in] [charset(UTF16)] */,
213 enum netr_SchannelType secure_channel_type /* [in] */,
214 const char *computer_name /* [in] [charset(UTF16)] */,
215 struct netr_Credential *credentials /* [in,out] [ref] */,
216 uint32_t *negotiate_flags /* [in,out] [ref] */,
217 uint32_t *rid /* [out] [ref] */);
218 NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli,
219 TALLOC_CTX *mem_ctx,
220 const char *server_unc /* [in] [unique,charset(UTF16)] */,
221 const char *domain_name /* [in] [unique,charset(UTF16)] */,
222 struct GUID *domain_guid /* [in] [unique] */,
223 const char *site_name /* [in] [unique,charset(UTF16)] */,
224 uint32_t flags /* [in] */,
225 struct netr_DsRGetDCNameInfo **info /* [out] [ref] */,
226 WERROR *werror);
227 NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli,
228 TALLOC_CTX *mem_ctx,
229 const char *computer_name /* [in] [unique,charset(UTF16)] */,
230 const char **site /* [out] [ref,charset(UTF16)] */,
231 WERROR *werror);
232 NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli,
233 TALLOC_CTX *mem_ctx,
234 const char *server_name /* [in] [charset(UTF16)] */,
235 const char *computer_name /* [in] [unique,charset(UTF16)] */,
236 struct netr_Authenticator *credential /* [in] [ref] */,
237 struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
238 uint32_t level /* [in] */,
239 union netr_DomainQuery query /* [in] [switch_is(level)] */,
240 union netr_DomainInfo *info /* [out] [ref,switch_is(level)] */);
241 NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli,
242 TALLOC_CTX *mem_ctx,
243 const char *server_name /* [in] [unique,charset(UTF16)] */,
244 const char *account_name /* [in] [charset(UTF16)] */,
245 enum netr_SchannelType secure_channel_type /* [in] */,
246 const char *computer_name /* [in] [charset(UTF16)] */,
247 struct netr_Authenticator *credential /* [in] [ref] */,
248 struct netr_Authenticator *return_authenticator /* [out] [ref] */,
249 struct netr_CryptPassword *new_password /* [in] [ref] */);
250 NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli,
251 TALLOC_CTX *mem_ctx,
252 const char *server_name /* [in] [unique,charset(UTF16)] */,
253 const char *account_name /* [in] [charset(UTF16)] */,
254 enum netr_SchannelType secure_channel_type /* [in] */,
255 const char *computer_name /* [in] [charset(UTF16)] */,
256 struct netr_Authenticator *credential /* [in] [ref] */,
257 struct netr_Authenticator *return_authenticator /* [out] [ref] */,
258 struct samr_Password *password /* [out] [ref] */,
259 WERROR *werror);
260 NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli,
261 TALLOC_CTX *mem_ctx,
262 WERROR *werror);
263 NTSTATUS rpccli_netr_DsRAddressToSitenamesW(struct rpc_pipe_client *cli,
264 TALLOC_CTX *mem_ctx,
265 const char *server_name /* [in] [unique,charset(UTF16)] */,
266 uint32_t count /* [in] [range(0,32000)] */,
267 struct netr_DsRAddress *addresses /* [in] [ref,size_is(count)] */,
268 struct netr_DsRAddressToSitenamesWCtr **ctr /* [out] [ref] */,
269 WERROR *werror);
270 NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli,
271 TALLOC_CTX *mem_ctx,
272 const char *server_unc /* [in] [unique,charset(UTF16)] */,
273 const char *client_account /* [in] [unique,charset(UTF16)] */,
274 uint32_t mask /* [in] */,
275 const char *domain_name /* [in] [unique,charset(UTF16)] */,
276 struct GUID *domain_guid /* [in] [unique] */,
277 const char *site_name /* [in] [unique,charset(UTF16)] */,
278 uint32_t flags /* [in] */,
279 struct netr_DsRGetDCNameInfo **info /* [out] [ref] */,
280 WERROR *werror);
281 NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client *cli,
282 TALLOC_CTX *mem_ctx,
283 WERROR *werror);
284 NTSTATUS rpccli_netr_NetrEnumerateTrustedDomainsEx(struct rpc_pipe_client *cli,
285 TALLOC_CTX *mem_ctx,
286 const char *server_name /* [in] [unique,charset(UTF16)] */,
287 struct netr_DomainTrustList *dom_trust_list /* [out] [ref] */,
288 WERROR *werror);
289 NTSTATUS rpccli_netr_DsRAddressToSitenamesExW(struct rpc_pipe_client *cli,
290 TALLOC_CTX *mem_ctx,
291 const char *server_name /* [in] [unique,charset(UTF16)] */,
292 uint32_t count /* [in] [range(0,32000)] */,
293 struct netr_DsRAddress *addresses /* [in] [ref,size_is(count)] */,
294 struct netr_DsRAddressToSitenamesExWCtr **ctr /* [out] [ref] */,
295 WERROR *werror);
296 NTSTATUS rpccli_netr_DsrGetDcSiteCoverageW(struct rpc_pipe_client *cli,
297 TALLOC_CTX *mem_ctx,
298 const char *server_name /* [in] [unique,charset(UTF16)] */,
299 struct DcSitesCtr *ctr /* [out] [ref] */,
300 WERROR *werror);
301 NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli,
302 TALLOC_CTX *mem_ctx,
303 const char *server_name /* [in] [unique,charset(UTF16)] */,
304 const char *computer_name /* [in] [unique,charset(UTF16)] */,
305 enum netr_LogonLevel logon_level /* [in] */,
306 union netr_LogonInfo *logon /* [in] [ref,switch_is(logon_level)] */,
307 uint16_t validation_level /* [in] */,
308 union netr_Validation *validation /* [out] [ref,switch_is(validation_level)] */,
309 uint8_t *authoritative /* [out] [ref] */,
310 uint32_t *flags /* [in,out] [ref] */);
311 NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli,
312 TALLOC_CTX *mem_ctx,
313 const char *server_name /* [in] [unique,charset(UTF16)] */,
314 uint32_t trust_flags /* [in] */,
315 struct netr_DomainTrustList *trusts /* [out] [ref] */,
316 WERROR *werror);
317 NTSTATUS rpccli_netr_DsrDeregisterDNSHostRecords(struct rpc_pipe_client *cli,
318 TALLOC_CTX *mem_ctx,
319 const char *server_name /* [in] [unique,charset(UTF16)] */,
320 const char *domain /* [in] [unique,charset(UTF16)] */,
321 struct GUID *domain_guid /* [in] [unique] */,
322 struct GUID *dsa_guid /* [in] [unique] */,
323 const char *dns_host /* [in] [ref,charset(UTF16)] */,
324 WERROR *werror);
325 NTSTATUS rpccli_netr_ServerTrustPasswordsGet(struct rpc_pipe_client *cli,
326 TALLOC_CTX *mem_ctx,
327 const char *server_name /* [in] [unique,charset(UTF16)] */,
328 const char *account_name /* [in] [charset(UTF16)] */,
329 enum netr_SchannelType secure_channel_type /* [in] */,
330 const char *computer_name /* [in] [charset(UTF16)] */,
331 struct netr_Authenticator *credential /* [in] [ref] */,
332 struct netr_Authenticator *return_authenticator /* [out] [ref] */,
333 struct samr_Password *password /* [out] [ref] */,
334 struct samr_Password *password2 /* [out] [ref] */);
335 NTSTATUS rpccli_netr_DsRGetForestTrustInformation(struct rpc_pipe_client *cli,
336 TALLOC_CTX *mem_ctx,
337 const char *server_name /* [in] [unique,charset(UTF16)] */,
338 const char *trusted_domain_name /* [in] [unique,charset(UTF16)] */,
339 uint32_t flags /* [in] */,
340 struct lsa_ForestTrustInformation **forest_trust_info /* [out] [ref] */,
341 WERROR *werror);
342 NTSTATUS rpccli_netr_GetForestTrustInformation(struct rpc_pipe_client *cli,
343 TALLOC_CTX *mem_ctx,
344 const char *server_name /* [in] [unique,charset(UTF16)] */,
345 const char *trusted_domain_name /* [in] [ref,charset(UTF16)] */,
346 struct netr_Authenticator *credential /* [in] [ref] */,
347 struct netr_Authenticator *return_authenticator /* [out] [ref] */,
348 uint32_t flags /* [in] */,
349 struct lsa_ForestTrustInformation **forest_trust_info /* [out] [ref] */,
350 WERROR *werror);
351 NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli,
352 TALLOC_CTX *mem_ctx,
353 const char *server_name /* [in] [unique,charset(UTF16)] */,
354 const char *computer_name /* [in] [unique,charset(UTF16)] */,
355 struct netr_Authenticator *credential /* [in] [unique] */,
356 struct netr_Authenticator *return_authenticator /* [in,out] [unique] */,
357 enum netr_LogonLevel logon_level /* [in] */,
358 union netr_LogonInfo logon /* [in] [switch_is(logon_level)] */,
359 uint16_t validation_level /* [in] */,
360 union netr_Validation *validation /* [out] [ref,switch_is(validation_level)] */,
361 uint8_t *authoritative /* [out] [ref] */,
362 uint32_t *flags /* [in,out] [ref] */);
363 NTSTATUS rpccli_netr_NETRSERVERGETTRUSTINFO(struct rpc_pipe_client *cli,
364 TALLOC_CTX *mem_ctx,
365 WERROR *werror);
366 #endif /* __CLI_NETLOGON__ */