1 | #include "../librpc/gen_ndr/ndr_drsuapi.h"
|
---|
2 | #ifndef __CLI_DRSUAPI__
|
---|
3 | #define __CLI_DRSUAPI__
|
---|
4 | struct tevent_req *rpccli_drsuapi_DsBind_send(TALLOC_CTX *mem_ctx,
|
---|
5 | struct tevent_context *ev,
|
---|
6 | struct rpc_pipe_client *cli,
|
---|
7 | struct GUID *_bind_guid /* [in] [unique] */,
|
---|
8 | struct drsuapi_DsBindInfoCtr *_bind_info /* [in,out] [unique] */,
|
---|
9 | struct policy_handle *_bind_handle /* [out] [ref] */);
|
---|
10 | NTSTATUS rpccli_drsuapi_DsBind_recv(struct tevent_req *req,
|
---|
11 | TALLOC_CTX *mem_ctx,
|
---|
12 | WERROR *result);
|
---|
13 | NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
|
---|
14 | TALLOC_CTX *mem_ctx,
|
---|
15 | struct GUID *bind_guid /* [in] [unique] */,
|
---|
16 | struct drsuapi_DsBindInfoCtr *bind_info /* [in,out] [unique] */,
|
---|
17 | struct policy_handle *bind_handle /* [out] [ref] */,
|
---|
18 | WERROR *werror);
|
---|
19 | struct tevent_req *rpccli_drsuapi_DsUnbind_send(TALLOC_CTX *mem_ctx,
|
---|
20 | struct tevent_context *ev,
|
---|
21 | struct rpc_pipe_client *cli,
|
---|
22 | struct policy_handle *_bind_handle /* [in,out] [ref] */);
|
---|
23 | NTSTATUS rpccli_drsuapi_DsUnbind_recv(struct tevent_req *req,
|
---|
24 | TALLOC_CTX *mem_ctx,
|
---|
25 | WERROR *result);
|
---|
26 | NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli,
|
---|
27 | TALLOC_CTX *mem_ctx,
|
---|
28 | struct policy_handle *bind_handle /* [in,out] [ref] */,
|
---|
29 | WERROR *werror);
|
---|
30 | struct tevent_req *rpccli_drsuapi_DsReplicaSync_send(TALLOC_CTX *mem_ctx,
|
---|
31 | struct tevent_context *ev,
|
---|
32 | struct rpc_pipe_client *cli,
|
---|
33 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
34 | int32_t _level /* [in] */,
|
---|
35 | union drsuapi_DsReplicaSyncRequest _req /* [in] [switch_is(level)] */);
|
---|
36 | NTSTATUS rpccli_drsuapi_DsReplicaSync_recv(struct tevent_req *req,
|
---|
37 | TALLOC_CTX *mem_ctx,
|
---|
38 | WERROR *result);
|
---|
39 | NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli,
|
---|
40 | TALLOC_CTX *mem_ctx,
|
---|
41 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
42 | int32_t level /* [in] */,
|
---|
43 | union drsuapi_DsReplicaSyncRequest req /* [in] [switch_is(level)] */,
|
---|
44 | WERROR *werror);
|
---|
45 | struct tevent_req *rpccli_drsuapi_DsGetNCChanges_send(TALLOC_CTX *mem_ctx,
|
---|
46 | struct tevent_context *ev,
|
---|
47 | struct rpc_pipe_client *cli,
|
---|
48 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
49 | int32_t _level /* [in] */,
|
---|
50 | union drsuapi_DsGetNCChangesRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
51 | int32_t *_level_out /* [out] [ref] */,
|
---|
52 | union drsuapi_DsGetNCChangesCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
53 | NTSTATUS rpccli_drsuapi_DsGetNCChanges_recv(struct tevent_req *req,
|
---|
54 | TALLOC_CTX *mem_ctx,
|
---|
55 | WERROR *result);
|
---|
56 | NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
|
---|
57 | TALLOC_CTX *mem_ctx,
|
---|
58 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
59 | int32_t level /* [in] */,
|
---|
60 | union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
61 | int32_t *level_out /* [out] [ref] */,
|
---|
62 | union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
63 | WERROR *werror);
|
---|
64 | struct tevent_req *rpccli_drsuapi_DsReplicaUpdateRefs_send(TALLOC_CTX *mem_ctx,
|
---|
65 | struct tevent_context *ev,
|
---|
66 | struct rpc_pipe_client *cli,
|
---|
67 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
68 | int32_t _level /* [in] */,
|
---|
69 | union drsuapi_DsReplicaUpdateRefsRequest _req /* [in] [switch_is(level)] */);
|
---|
70 | NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs_recv(struct tevent_req *req,
|
---|
71 | TALLOC_CTX *mem_ctx,
|
---|
72 | WERROR *result);
|
---|
73 | NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
|
---|
74 | TALLOC_CTX *mem_ctx,
|
---|
75 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
76 | int32_t level /* [in] */,
|
---|
77 | union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
|
---|
78 | WERROR *werror);
|
---|
79 | struct tevent_req *rpccli_drsuapi_DsReplicaAdd_send(TALLOC_CTX *mem_ctx,
|
---|
80 | struct tevent_context *ev,
|
---|
81 | struct rpc_pipe_client *cli,
|
---|
82 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
83 | int32_t _level /* [in] */,
|
---|
84 | union drsuapi_DsReplicaAddRequest _req /* [in] [switch_is(level)] */);
|
---|
85 | NTSTATUS rpccli_drsuapi_DsReplicaAdd_recv(struct tevent_req *req,
|
---|
86 | TALLOC_CTX *mem_ctx,
|
---|
87 | WERROR *result);
|
---|
88 | NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli,
|
---|
89 | TALLOC_CTX *mem_ctx,
|
---|
90 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
91 | int32_t level /* [in] */,
|
---|
92 | union drsuapi_DsReplicaAddRequest req /* [in] [switch_is(level)] */,
|
---|
93 | WERROR *werror);
|
---|
94 | struct tevent_req *rpccli_drsuapi_DsReplicaDel_send(TALLOC_CTX *mem_ctx,
|
---|
95 | struct tevent_context *ev,
|
---|
96 | struct rpc_pipe_client *cli,
|
---|
97 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
98 | int32_t _level /* [in] */,
|
---|
99 | union drsuapi_DsReplicaDelRequest _req /* [in] [switch_is(level)] */);
|
---|
100 | NTSTATUS rpccli_drsuapi_DsReplicaDel_recv(struct tevent_req *req,
|
---|
101 | TALLOC_CTX *mem_ctx,
|
---|
102 | WERROR *result);
|
---|
103 | NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli,
|
---|
104 | TALLOC_CTX *mem_ctx,
|
---|
105 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
106 | int32_t level /* [in] */,
|
---|
107 | union drsuapi_DsReplicaDelRequest req /* [in] [switch_is(level)] */,
|
---|
108 | WERROR *werror);
|
---|
109 | struct tevent_req *rpccli_drsuapi_DsReplicaMod_send(TALLOC_CTX *mem_ctx,
|
---|
110 | struct tevent_context *ev,
|
---|
111 | struct rpc_pipe_client *cli,
|
---|
112 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
113 | int32_t _level /* [in] */,
|
---|
114 | union drsuapi_DsReplicaModRequest _req /* [in] [switch_is(level)] */);
|
---|
115 | NTSTATUS rpccli_drsuapi_DsReplicaMod_recv(struct tevent_req *req,
|
---|
116 | TALLOC_CTX *mem_ctx,
|
---|
117 | WERROR *result);
|
---|
118 | NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli,
|
---|
119 | TALLOC_CTX *mem_ctx,
|
---|
120 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
121 | int32_t level /* [in] */,
|
---|
122 | union drsuapi_DsReplicaModRequest req /* [in] [switch_is(level)] */,
|
---|
123 | WERROR *werror);
|
---|
124 | struct tevent_req *rpccli_DRSUAPI_VERIFY_NAMES_send(TALLOC_CTX *mem_ctx,
|
---|
125 | struct tevent_context *ev,
|
---|
126 | struct rpc_pipe_client *cli);
|
---|
127 | NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES_recv(struct tevent_req *req,
|
---|
128 | TALLOC_CTX *mem_ctx,
|
---|
129 | WERROR *result);
|
---|
130 | NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli,
|
---|
131 | TALLOC_CTX *mem_ctx,
|
---|
132 | WERROR *werror);
|
---|
133 | struct tevent_req *rpccli_drsuapi_DsGetMemberships_send(TALLOC_CTX *mem_ctx,
|
---|
134 | struct tevent_context *ev,
|
---|
135 | struct rpc_pipe_client *cli,
|
---|
136 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
137 | int32_t _level /* [in] */,
|
---|
138 | union drsuapi_DsGetMembershipsRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
139 | int32_t *_level_out /* [out] [ref] */,
|
---|
140 | union drsuapi_DsGetMembershipsCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
141 | NTSTATUS rpccli_drsuapi_DsGetMemberships_recv(struct tevent_req *req,
|
---|
142 | TALLOC_CTX *mem_ctx,
|
---|
143 | WERROR *result);
|
---|
144 | NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
|
---|
145 | TALLOC_CTX *mem_ctx,
|
---|
146 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
147 | int32_t level /* [in] */,
|
---|
148 | union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
149 | int32_t *level_out /* [out] [ref] */,
|
---|
150 | union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
151 | WERROR *werror);
|
---|
152 | struct tevent_req *rpccli_DRSUAPI_INTER_DOMAIN_MOVE_send(TALLOC_CTX *mem_ctx,
|
---|
153 | struct tevent_context *ev,
|
---|
154 | struct rpc_pipe_client *cli);
|
---|
155 | NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE_recv(struct tevent_req *req,
|
---|
156 | TALLOC_CTX *mem_ctx,
|
---|
157 | WERROR *result);
|
---|
158 | NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli,
|
---|
159 | TALLOC_CTX *mem_ctx,
|
---|
160 | WERROR *werror);
|
---|
161 | struct tevent_req *rpccli_drsuapi_DsGetNT4ChangeLog_send(TALLOC_CTX *mem_ctx,
|
---|
162 | struct tevent_context *ev,
|
---|
163 | struct rpc_pipe_client *cli,
|
---|
164 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
165 | uint32_t _level /* [in] */,
|
---|
166 | union drsuapi_DsGetNT4ChangeLogRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
167 | uint32_t *_level_out /* [out] [ref] */,
|
---|
168 | union drsuapi_DsGetNT4ChangeLogInfo *_info /* [out] [ref,switch_is(*level_out)] */);
|
---|
169 | NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog_recv(struct tevent_req *req,
|
---|
170 | TALLOC_CTX *mem_ctx,
|
---|
171 | WERROR *result);
|
---|
172 | NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli,
|
---|
173 | TALLOC_CTX *mem_ctx,
|
---|
174 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
175 | uint32_t level /* [in] */,
|
---|
176 | union drsuapi_DsGetNT4ChangeLogRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
177 | uint32_t *level_out /* [out] [ref] */,
|
---|
178 | union drsuapi_DsGetNT4ChangeLogInfo *info /* [out] [ref,switch_is(*level_out)] */,
|
---|
179 | WERROR *werror);
|
---|
180 | struct tevent_req *rpccli_drsuapi_DsCrackNames_send(TALLOC_CTX *mem_ctx,
|
---|
181 | struct tevent_context *ev,
|
---|
182 | struct rpc_pipe_client *cli,
|
---|
183 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
184 | int32_t _level /* [in] */,
|
---|
185 | union drsuapi_DsNameRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
186 | int32_t *_level_out /* [out] [ref] */,
|
---|
187 | union drsuapi_DsNameCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
188 | NTSTATUS rpccli_drsuapi_DsCrackNames_recv(struct tevent_req *req,
|
---|
189 | TALLOC_CTX *mem_ctx,
|
---|
190 | WERROR *result);
|
---|
191 | NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
|
---|
192 | TALLOC_CTX *mem_ctx,
|
---|
193 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
194 | int32_t level /* [in] */,
|
---|
195 | union drsuapi_DsNameRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
196 | int32_t *level_out /* [out] [ref] */,
|
---|
197 | union drsuapi_DsNameCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
198 | WERROR *werror);
|
---|
199 | struct tevent_req *rpccli_drsuapi_DsWriteAccountSpn_send(TALLOC_CTX *mem_ctx,
|
---|
200 | struct tevent_context *ev,
|
---|
201 | struct rpc_pipe_client *cli,
|
---|
202 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
203 | int32_t _level /* [in] */,
|
---|
204 | union drsuapi_DsWriteAccountSpnRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
205 | int32_t *_level_out /* [out] [ref] */,
|
---|
206 | union drsuapi_DsWriteAccountSpnResult *_res /* [out] [ref,switch_is(*level_out)] */);
|
---|
207 | NTSTATUS rpccli_drsuapi_DsWriteAccountSpn_recv(struct tevent_req *req,
|
---|
208 | TALLOC_CTX *mem_ctx,
|
---|
209 | WERROR *result);
|
---|
210 | NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
|
---|
211 | TALLOC_CTX *mem_ctx,
|
---|
212 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
213 | int32_t level /* [in] */,
|
---|
214 | union drsuapi_DsWriteAccountSpnRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
215 | int32_t *level_out /* [out] [ref] */,
|
---|
216 | union drsuapi_DsWriteAccountSpnResult *res /* [out] [ref,switch_is(*level_out)] */,
|
---|
217 | WERROR *werror);
|
---|
218 | struct tevent_req *rpccli_drsuapi_DsRemoveDSServer_send(TALLOC_CTX *mem_ctx,
|
---|
219 | struct tevent_context *ev,
|
---|
220 | struct rpc_pipe_client *cli,
|
---|
221 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
222 | int32_t _level /* [in] */,
|
---|
223 | union drsuapi_DsRemoveDSServerRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
224 | int32_t *_level_out /* [out] [ref] */,
|
---|
225 | union drsuapi_DsRemoveDSServerResult *_res /* [out] [ref,switch_is(*level_out)] */);
|
---|
226 | NTSTATUS rpccli_drsuapi_DsRemoveDSServer_recv(struct tevent_req *req,
|
---|
227 | TALLOC_CTX *mem_ctx,
|
---|
228 | WERROR *result);
|
---|
229 | NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
|
---|
230 | TALLOC_CTX *mem_ctx,
|
---|
231 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
232 | int32_t level /* [in] */,
|
---|
233 | union drsuapi_DsRemoveDSServerRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
234 | int32_t *level_out /* [out] [ref] */,
|
---|
235 | union drsuapi_DsRemoveDSServerResult *res /* [out] [ref,switch_is(*level_out)] */,
|
---|
236 | WERROR *werror);
|
---|
237 | struct tevent_req *rpccli_DRSUAPI_REMOVE_DS_DOMAIN_send(TALLOC_CTX *mem_ctx,
|
---|
238 | struct tevent_context *ev,
|
---|
239 | struct rpc_pipe_client *cli);
|
---|
240 | NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN_recv(struct tevent_req *req,
|
---|
241 | TALLOC_CTX *mem_ctx,
|
---|
242 | WERROR *result);
|
---|
243 | NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli,
|
---|
244 | TALLOC_CTX *mem_ctx,
|
---|
245 | WERROR *werror);
|
---|
246 | struct tevent_req *rpccli_drsuapi_DsGetDomainControllerInfo_send(TALLOC_CTX *mem_ctx,
|
---|
247 | struct tevent_context *ev,
|
---|
248 | struct rpc_pipe_client *cli,
|
---|
249 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
250 | int32_t _level /* [in] */,
|
---|
251 | union drsuapi_DsGetDCInfoRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
252 | int32_t *_level_out /* [out] [ref] */,
|
---|
253 | union drsuapi_DsGetDCInfoCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
254 | NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo_recv(struct tevent_req *req,
|
---|
255 | TALLOC_CTX *mem_ctx,
|
---|
256 | WERROR *result);
|
---|
257 | NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli,
|
---|
258 | TALLOC_CTX *mem_ctx,
|
---|
259 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
260 | int32_t level /* [in] */,
|
---|
261 | union drsuapi_DsGetDCInfoRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
262 | int32_t *level_out /* [out] [ref] */,
|
---|
263 | union drsuapi_DsGetDCInfoCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
264 | WERROR *werror);
|
---|
265 | struct tevent_req *rpccli_drsuapi_DsAddEntry_send(TALLOC_CTX *mem_ctx,
|
---|
266 | struct tevent_context *ev,
|
---|
267 | struct rpc_pipe_client *cli,
|
---|
268 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
269 | int32_t _level /* [in] */,
|
---|
270 | union drsuapi_DsAddEntryRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
271 | int32_t *_level_out /* [out] [ref] */,
|
---|
272 | union drsuapi_DsAddEntryCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
273 | NTSTATUS rpccli_drsuapi_DsAddEntry_recv(struct tevent_req *req,
|
---|
274 | TALLOC_CTX *mem_ctx,
|
---|
275 | WERROR *result);
|
---|
276 | NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli,
|
---|
277 | TALLOC_CTX *mem_ctx,
|
---|
278 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
279 | int32_t level /* [in] */,
|
---|
280 | union drsuapi_DsAddEntryRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
281 | int32_t *level_out /* [out] [ref] */,
|
---|
282 | union drsuapi_DsAddEntryCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
283 | WERROR *werror);
|
---|
284 | struct tevent_req *rpccli_drsuapi_DsExecuteKCC_send(TALLOC_CTX *mem_ctx,
|
---|
285 | struct tevent_context *ev,
|
---|
286 | struct rpc_pipe_client *cli,
|
---|
287 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
288 | uint32_t _level /* [in] */,
|
---|
289 | union drsuapi_DsExecuteKCCRequest *_req /* [in] [ref,switch_is(level)] */);
|
---|
290 | NTSTATUS rpccli_drsuapi_DsExecuteKCC_recv(struct tevent_req *req,
|
---|
291 | TALLOC_CTX *mem_ctx,
|
---|
292 | WERROR *result);
|
---|
293 | NTSTATUS rpccli_drsuapi_DsExecuteKCC(struct rpc_pipe_client *cli,
|
---|
294 | TALLOC_CTX *mem_ctx,
|
---|
295 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
296 | uint32_t level /* [in] */,
|
---|
297 | union drsuapi_DsExecuteKCCRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
298 | WERROR *werror);
|
---|
299 | struct tevent_req *rpccli_drsuapi_DsReplicaGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
300 | struct tevent_context *ev,
|
---|
301 | struct rpc_pipe_client *cli,
|
---|
302 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
303 | enum drsuapi_DsReplicaGetInfoLevel _level /* [in] */,
|
---|
304 | union drsuapi_DsReplicaGetInfoRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
305 | enum drsuapi_DsReplicaInfoType *_info_type /* [out] [ref] */,
|
---|
306 | union drsuapi_DsReplicaInfo *_info /* [out] [ref,switch_is(*info_type)] */);
|
---|
307 | NTSTATUS rpccli_drsuapi_DsReplicaGetInfo_recv(struct tevent_req *req,
|
---|
308 | TALLOC_CTX *mem_ctx,
|
---|
309 | WERROR *result);
|
---|
310 | NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli,
|
---|
311 | TALLOC_CTX *mem_ctx,
|
---|
312 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
313 | enum drsuapi_DsReplicaGetInfoLevel level /* [in] */,
|
---|
314 | union drsuapi_DsReplicaGetInfoRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
315 | enum drsuapi_DsReplicaInfoType *info_type /* [out] [ref] */,
|
---|
316 | union drsuapi_DsReplicaInfo *info /* [out] [ref,switch_is(*info_type)] */,
|
---|
317 | WERROR *werror);
|
---|
318 | struct tevent_req *rpccli_DRSUAPI_ADD_SID_HISTORY_send(TALLOC_CTX *mem_ctx,
|
---|
319 | struct tevent_context *ev,
|
---|
320 | struct rpc_pipe_client *cli);
|
---|
321 | NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY_recv(struct tevent_req *req,
|
---|
322 | TALLOC_CTX *mem_ctx,
|
---|
323 | WERROR *result);
|
---|
324 | NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli,
|
---|
325 | TALLOC_CTX *mem_ctx,
|
---|
326 | WERROR *werror);
|
---|
327 | struct tevent_req *rpccli_drsuapi_DsGetMemberships2_send(TALLOC_CTX *mem_ctx,
|
---|
328 | struct tevent_context *ev,
|
---|
329 | struct rpc_pipe_client *cli,
|
---|
330 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
331 | int32_t _level /* [in] */,
|
---|
332 | union drsuapi_DsGetMemberships2Request *_req /* [in] [ref,switch_is(level)] */,
|
---|
333 | int32_t *_level_out /* [out] [ref] */,
|
---|
334 | union drsuapi_DsGetMemberships2Ctr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
335 | NTSTATUS rpccli_drsuapi_DsGetMemberships2_recv(struct tevent_req *req,
|
---|
336 | TALLOC_CTX *mem_ctx,
|
---|
337 | WERROR *result);
|
---|
338 | NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
|
---|
339 | TALLOC_CTX *mem_ctx,
|
---|
340 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
341 | int32_t level /* [in] */,
|
---|
342 | union drsuapi_DsGetMemberships2Request *req /* [in] [ref,switch_is(level)] */,
|
---|
343 | int32_t *level_out /* [out] [ref] */,
|
---|
344 | union drsuapi_DsGetMemberships2Ctr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
345 | WERROR *werror);
|
---|
346 | struct tevent_req *rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_send(TALLOC_CTX *mem_ctx,
|
---|
347 | struct tevent_context *ev,
|
---|
348 | struct rpc_pipe_client *cli);
|
---|
349 | NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_recv(struct tevent_req *req,
|
---|
350 | TALLOC_CTX *mem_ctx,
|
---|
351 | WERROR *result);
|
---|
352 | NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli,
|
---|
353 | TALLOC_CTX *mem_ctx,
|
---|
354 | WERROR *werror);
|
---|
355 | struct tevent_req *rpccli_DRSUAPI_GET_OBJECT_EXISTENCE_send(TALLOC_CTX *mem_ctx,
|
---|
356 | struct tevent_context *ev,
|
---|
357 | struct rpc_pipe_client *cli);
|
---|
358 | NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE_recv(struct tevent_req *req,
|
---|
359 | TALLOC_CTX *mem_ctx,
|
---|
360 | WERROR *result);
|
---|
361 | NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli,
|
---|
362 | TALLOC_CTX *mem_ctx,
|
---|
363 | WERROR *werror);
|
---|
364 | struct tevent_req *rpccli_drsuapi_QuerySitesByCost_send(TALLOC_CTX *mem_ctx,
|
---|
365 | struct tevent_context *ev,
|
---|
366 | struct rpc_pipe_client *cli,
|
---|
367 | struct policy_handle *_bind_handle /* [in] [ref] */,
|
---|
368 | int32_t _level /* [in] */,
|
---|
369 | union drsuapi_QuerySitesByCostRequest *_req /* [in] [ref,switch_is(level)] */,
|
---|
370 | int32_t *_level_out /* [out] [ref] */,
|
---|
371 | union drsuapi_QuerySitesByCostCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
|
---|
372 | NTSTATUS rpccli_drsuapi_QuerySitesByCost_recv(struct tevent_req *req,
|
---|
373 | TALLOC_CTX *mem_ctx,
|
---|
374 | WERROR *result);
|
---|
375 | NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
|
---|
376 | TALLOC_CTX *mem_ctx,
|
---|
377 | struct policy_handle *bind_handle /* [in] [ref] */,
|
---|
378 | int32_t level /* [in] */,
|
---|
379 | union drsuapi_QuerySitesByCostRequest *req /* [in] [ref,switch_is(level)] */,
|
---|
380 | int32_t *level_out /* [out] [ref] */,
|
---|
381 | union drsuapi_QuerySitesByCostCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
|
---|
382 | WERROR *werror);
|
---|
383 | #endif /* __CLI_DRSUAPI__ */
|
---|