1 #include "librpc/rpc/dcerpc.h"
2 #include "bin/default/librpc/gen_ndr/frstrans.h"
3 #ifndef _HEADER_RPC_frstrans
4 #define _HEADER_RPC_frstrans
6 extern const struct ndr_interface_table ndr_table_frstrans;
8 /* frstrans_BytePipe */
9 struct frstrans_BytePipe;
10 struct frstrans_BytePipe *dcerpc_frstrans_BytePipe_create(TALLOC_CTX *mem_ctx);
11 struct tevent_req *dcerpc_frstrans_BytePipe_chunk_push_send(TALLOC_CTX *mem_ctx,
12 struct tevent_context *ev,
13 struct frstrans_BytePipe *p,
14 const struct frstrans_BytePipe_chunk *chunk);
15 NTSTATUS dcerpc_frstrans_BytePipe_chunk_push_recv(struct tevent_req *req);
16 struct tevent_req *dcerpc_frstrans_BytePipe_chunk_pull_send(TALLOC_CTX *mem_ctx,
17 struct tevent_context *ev,
18 struct frstrans_BytePipe *p);
19 NTSTATUS dcerpc_frstrans_BytePipe_chunk_pull_recv(struct tevent_req *req,
21 struct frstrans_BytePipe_chunk **chunk);
23 struct tevent_req *dcerpc_frstrans_CheckConnectivity_r_send(TALLOC_CTX *mem_ctx,
24 struct tevent_context *ev,
25 struct dcerpc_binding_handle *h,
26 struct frstrans_CheckConnectivity *r);
27 NTSTATUS dcerpc_frstrans_CheckConnectivity_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
28 NTSTATUS dcerpc_frstrans_CheckConnectivity_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_CheckConnectivity *r);
29 struct tevent_req *dcerpc_frstrans_CheckConnectivity_send(TALLOC_CTX *mem_ctx,
30 struct tevent_context *ev,
31 struct dcerpc_binding_handle *h,
32 struct GUID _replica_set_guid /* [in] */,
33 struct GUID _connection_guid /* [in] */);
34 NTSTATUS dcerpc_frstrans_CheckConnectivity_recv(struct tevent_req *req,
37 NTSTATUS dcerpc_frstrans_CheckConnectivity(struct dcerpc_binding_handle *h,
39 struct GUID _replica_set_guid /* [in] */,
40 struct GUID _connection_guid /* [in] */,
43 struct tevent_req *dcerpc_frstrans_EstablishConnection_r_send(TALLOC_CTX *mem_ctx,
44 struct tevent_context *ev,
45 struct dcerpc_binding_handle *h,
46 struct frstrans_EstablishConnection *r);
47 NTSTATUS dcerpc_frstrans_EstablishConnection_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
48 NTSTATUS dcerpc_frstrans_EstablishConnection_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_EstablishConnection *r);
49 struct tevent_req *dcerpc_frstrans_EstablishConnection_send(TALLOC_CTX *mem_ctx,
50 struct tevent_context *ev,
51 struct dcerpc_binding_handle *h,
52 struct GUID _replica_set_guid /* [in] */,
53 struct GUID _connection_guid /* [in] */,
54 enum frstrans_ProtocolVersion _downstream_protocol_version /* [in] */,
55 uint32_t _downstream_flags /* [in] */,
56 enum frstrans_ProtocolVersion *_upstream_protocol_version /* [out] [ref] */,
57 uint32_t *_upstream_flags /* [out] [ref] */);
58 NTSTATUS dcerpc_frstrans_EstablishConnection_recv(struct tevent_req *req,
61 NTSTATUS dcerpc_frstrans_EstablishConnection(struct dcerpc_binding_handle *h,
63 struct GUID _replica_set_guid /* [in] */,
64 struct GUID _connection_guid /* [in] */,
65 enum frstrans_ProtocolVersion _downstream_protocol_version /* [in] */,
66 uint32_t _downstream_flags /* [in] */,
67 enum frstrans_ProtocolVersion *_upstream_protocol_version /* [out] [ref] */,
68 uint32_t *_upstream_flags /* [out] [ref] */,
71 struct tevent_req *dcerpc_frstrans_EstablishSession_r_send(TALLOC_CTX *mem_ctx,
72 struct tevent_context *ev,
73 struct dcerpc_binding_handle *h,
74 struct frstrans_EstablishSession *r);
75 NTSTATUS dcerpc_frstrans_EstablishSession_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
76 NTSTATUS dcerpc_frstrans_EstablishSession_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_EstablishSession *r);
77 struct tevent_req *dcerpc_frstrans_EstablishSession_send(TALLOC_CTX *mem_ctx,
78 struct tevent_context *ev,
79 struct dcerpc_binding_handle *h,
80 struct GUID _connection_guid /* [in] */,
81 struct GUID _content_set_guid /* [in] */);
82 NTSTATUS dcerpc_frstrans_EstablishSession_recv(struct tevent_req *req,
85 NTSTATUS dcerpc_frstrans_EstablishSession(struct dcerpc_binding_handle *h,
87 struct GUID _connection_guid /* [in] */,
88 struct GUID _content_set_guid /* [in] */,
91 struct tevent_req *dcerpc_frstrans_RequestUpdates_r_send(TALLOC_CTX *mem_ctx,
92 struct tevent_context *ev,
93 struct dcerpc_binding_handle *h,
94 struct frstrans_RequestUpdates *r);
95 NTSTATUS dcerpc_frstrans_RequestUpdates_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
96 NTSTATUS dcerpc_frstrans_RequestUpdates_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_RequestUpdates *r);
97 struct tevent_req *dcerpc_frstrans_RequestUpdates_send(TALLOC_CTX *mem_ctx,
98 struct tevent_context *ev,
99 struct dcerpc_binding_handle *h,
100 struct GUID _connection_guid /* [in] */,
101 struct GUID _content_set_guid /* [in] */,
102 uint32_t _credits_available /* [in] [range(0,256)] */,
103 uint32_t _hash_requested /* [in] [range(0,1)] */,
104 enum frstrans_UpdateRequestType _update_request_type /* [in] [range(0,2)] */,
105 uint32_t _version_vector_diff_count /* [in] */,
106 struct frstrans_VersionVector *_version_vector_diff /* [in] [ref,size_is(version_vector_diff_count)] */,
107 struct frstrans_Update *_frs_update /* [out] [ref,length_is(*update_count),size_is(credits_available)] */,
108 uint32_t *_update_count /* [out] [ref] */,
109 enum frstrans_UpdateStatus *_update_status /* [out] [ref] */,
110 struct GUID *_gvsn_db_guid /* [out] [ref] */,
111 uint64_t *_gvsn_version /* [out] [ref] */);
112 NTSTATUS dcerpc_frstrans_RequestUpdates_recv(struct tevent_req *req,
115 NTSTATUS dcerpc_frstrans_RequestUpdates(struct dcerpc_binding_handle *h,
117 struct GUID _connection_guid /* [in] */,
118 struct GUID _content_set_guid /* [in] */,
119 uint32_t _credits_available /* [in] [range(0,256)] */,
120 uint32_t _hash_requested /* [in] [range(0,1)] */,
121 enum frstrans_UpdateRequestType _update_request_type /* [in] [range(0,2)] */,
122 uint32_t _version_vector_diff_count /* [in] */,
123 struct frstrans_VersionVector *_version_vector_diff /* [in] [ref,size_is(version_vector_diff_count)] */,
124 struct frstrans_Update *_frs_update /* [out] [ref,length_is(*update_count),size_is(credits_available)] */,
125 uint32_t *_update_count /* [out] [ref] */,
126 enum frstrans_UpdateStatus *_update_status /* [out] [ref] */,
127 struct GUID *_gvsn_db_guid /* [out] [ref] */,
128 uint64_t *_gvsn_version /* [out] [ref] */,
131 struct tevent_req *dcerpc_frstrans_RequestVersionVector_r_send(TALLOC_CTX *mem_ctx,
132 struct tevent_context *ev,
133 struct dcerpc_binding_handle *h,
134 struct frstrans_RequestVersionVector *r);
135 NTSTATUS dcerpc_frstrans_RequestVersionVector_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
136 NTSTATUS dcerpc_frstrans_RequestVersionVector_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_RequestVersionVector *r);
137 struct tevent_req *dcerpc_frstrans_RequestVersionVector_send(TALLOC_CTX *mem_ctx,
138 struct tevent_context *ev,
139 struct dcerpc_binding_handle *h,
140 uint32_t _sequence_number /* [in] */,
141 struct GUID _connection_guid /* [in] */,
142 struct GUID _content_set_guid /* [in] */,
143 enum frstrans_VersionRequestType _request_type /* [in] [range(0,2)] */,
144 enum frstrans_VersionChangeType _change_type /* [in] [range(0,2)] */,
145 uint64_t _vv_generation /* [in] */);
146 NTSTATUS dcerpc_frstrans_RequestVersionVector_recv(struct tevent_req *req,
149 NTSTATUS dcerpc_frstrans_RequestVersionVector(struct dcerpc_binding_handle *h,
151 uint32_t _sequence_number /* [in] */,
152 struct GUID _connection_guid /* [in] */,
153 struct GUID _content_set_guid /* [in] */,
154 enum frstrans_VersionRequestType _request_type /* [in] [range(0,2)] */,
155 enum frstrans_VersionChangeType _change_type /* [in] [range(0,2)] */,
156 uint64_t _vv_generation /* [in] */,
159 struct tevent_req *dcerpc_frstrans_AsyncPoll_r_send(TALLOC_CTX *mem_ctx,
160 struct tevent_context *ev,
161 struct dcerpc_binding_handle *h,
162 struct frstrans_AsyncPoll *r);
163 NTSTATUS dcerpc_frstrans_AsyncPoll_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
164 NTSTATUS dcerpc_frstrans_AsyncPoll_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_AsyncPoll *r);
165 struct tevent_req *dcerpc_frstrans_AsyncPoll_send(TALLOC_CTX *mem_ctx,
166 struct tevent_context *ev,
167 struct dcerpc_binding_handle *h,
168 struct GUID _connection_guid /* [in] */,
169 struct frstrans_AsyncResponseContext *_response /* [out] [ref] */);
170 NTSTATUS dcerpc_frstrans_AsyncPoll_recv(struct tevent_req *req,
173 NTSTATUS dcerpc_frstrans_AsyncPoll(struct dcerpc_binding_handle *h,
175 struct GUID _connection_guid /* [in] */,
176 struct frstrans_AsyncResponseContext *_response /* [out] [ref] */,
179 struct tevent_req *dcerpc_frstrans_InitializeFileTransferAsync_r_send(TALLOC_CTX *mem_ctx,
180 struct tevent_context *ev,
181 struct dcerpc_binding_handle *h,
182 struct frstrans_InitializeFileTransferAsync *r);
183 NTSTATUS dcerpc_frstrans_InitializeFileTransferAsync_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
184 NTSTATUS dcerpc_frstrans_InitializeFileTransferAsync_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frstrans_InitializeFileTransferAsync *r);
185 struct tevent_req *dcerpc_frstrans_InitializeFileTransferAsync_send(TALLOC_CTX *mem_ctx,
186 struct tevent_context *ev,
187 struct dcerpc_binding_handle *h,
188 struct GUID _connection_guid /* [in] */,
189 struct frstrans_Update *_frs_update /* [in,out] [ref] */,
190 uint32_t _rdc_desired /* [in] [range(0,1)] */,
191 enum frstrans_RequestedStagingPolicy *_staging_policy /* [in,out] [ref] */,
192 struct policy_handle *_server_context /* [out] [ref] */,
193 struct frstrans_RdcFileInfo **_rdc_file_info /* [out] [ref] */,
194 uint8_t *_data_buffer /* [out] [ref,length_is(*size_read),size_is(buffer_size)] */,
195 uint32_t _buffer_size /* [in] [range(0,262144)] */,
196 uint32_t *_size_read /* [out] [ref] */,
197 uint32_t *_is_end_of_file /* [out] [ref] */);
198 NTSTATUS dcerpc_frstrans_InitializeFileTransferAsync_recv(struct tevent_req *req,
201 NTSTATUS dcerpc_frstrans_InitializeFileTransferAsync(struct dcerpc_binding_handle *h,
203 struct GUID _connection_guid /* [in] */,
204 struct frstrans_Update *_frs_update /* [in,out] [ref] */,
205 uint32_t _rdc_desired /* [in] [range(0,1)] */,
206 enum frstrans_RequestedStagingPolicy *_staging_policy /* [in,out] [ref] */,
207 struct policy_handle *_server_context /* [out] [ref] */,
208 struct frstrans_RdcFileInfo **_rdc_file_info /* [out] [ref] */,
209 uint8_t *_data_buffer /* [out] [ref,length_is(*size_read),size_is(buffer_size)] */,
210 uint32_t _buffer_size /* [in] [range(0,262144)] */,
211 uint32_t *_size_read /* [out] [ref] */,
212 uint32_t *_is_end_of_file /* [out] [ref] */,
215 struct tevent_req *dcerpc_frstrans_RawGetFileDataAsync_r_send(TALLOC_CTX *mem_ctx,
216 struct tevent_context *ev,
217 struct dcerpc_binding_handle *h,
218 struct frstrans_RawGetFileDataAsync *r);
219 NTSTATUS dcerpc_frstrans_RawGetFileDataAsync_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
221 * The following function is skipped because
224 * dcerpc_frstrans_RawGetFileDataAsync_r()
227 struct tevent_req *dcerpc_frstrans_RawGetFileDataAsync_send(TALLOC_CTX *mem_ctx,
228 struct tevent_context *ev,
229 struct dcerpc_binding_handle *h,
230 struct policy_handle *_server_context /* [in] [ref] */,
231 struct frstrans_BytePipe *_byte_pipe /* [out] [ref] */);
232 NTSTATUS dcerpc_frstrans_RawGetFileDataAsync_recv(struct tevent_req *req,
236 * The following function is skipped because
239 * dcerpc_frstrans_RawGetFileDataAsync()
243 struct tevent_req *dcerpc_frstrans_RdcGetFileDataAsync_r_send(TALLOC_CTX *mem_ctx,
244 struct tevent_context *ev,
245 struct dcerpc_binding_handle *h,
246 struct frstrans_RdcGetFileDataAsync *r);
247 NTSTATUS dcerpc_frstrans_RdcGetFileDataAsync_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
249 * The following function is skipped because
252 * dcerpc_frstrans_RdcGetFileDataAsync_r()
255 struct tevent_req *dcerpc_frstrans_RdcGetFileDataAsync_send(TALLOC_CTX *mem_ctx,
256 struct tevent_context *ev,
257 struct dcerpc_binding_handle *h,
258 struct policy_handle *_server_context /* [in] [ref] */,
259 struct frstrans_BytePipe *_byte_pipe /* [out] [ref] */);
260 NTSTATUS dcerpc_frstrans_RdcGetFileDataAsync_recv(struct tevent_req *req,
264 * The following function is skipped because
267 * dcerpc_frstrans_RdcGetFileDataAsync()
271 #endif /* _HEADER_RPC_frstrans */