1
/* header auto-generated by pidl */
3
#ifndef _PIDL_HEADER_frstrans
4
#define _PIDL_HEADER_frstrans
8
#include "libcli/util/ntstatus.h"
10
#include "librpc/gen_ndr/misc.h"
11
#ifndef _HEADER_frstrans
12
#define _HEADER_frstrans
14
enum frstrans_ProtocolVersion
15
#ifndef USE_UINT_ENUMS
17
FRSTRANS_PROTOCOL_VERSION_W2K3R2=(int)(0x00050000),
18
FRSTRANS_PROTOCOL_VERSION_LONGHORN_SERVER=(int)(0x00050002)
21
{ __donnot_use_enum_frstrans_ProtocolVersion=0x7FFFFFFF}
22
#define FRSTRANS_PROTOCOL_VERSION_W2K3R2 ( 0x00050000 )
23
#define FRSTRANS_PROTOCOL_VERSION_LONGHORN_SERVER ( 0x00050002 )
27
/* bitmap frstrans_TransportFlags */
28
#define FRSTRANS_TRANSPORT_SUPPORTS_RDC_SIMILARITY ( 0x00000001 )
30
enum frstrans_UpdateRequestType
31
#ifndef USE_UINT_ENUMS
33
FRSTRANS_UPDATE_REQUEST_ALL=(int)(0x0000),
34
FRSTRANS_UPDATE_REQUEST_TOMBSTONES=(int)(0x0001),
35
FRSTRANS_UPDATE_REQUEST_LIVE=(int)(0x0002)
38
{ __donnot_use_enum_frstrans_UpdateRequestType=0x7FFFFFFF}
39
#define FRSTRANS_UPDATE_REQUEST_ALL ( 0x0000 )
40
#define FRSTRANS_UPDATE_REQUEST_TOMBSTONES ( 0x0001 )
41
#define FRSTRANS_UPDATE_REQUEST_LIVE ( 0x0002 )
45
enum frstrans_UpdateStatus
46
#ifndef USE_UINT_ENUMS
48
FRSTRANS_UPDATE_STATUS_DONE=(int)(0x0002),
49
FRSTRANS_UPDATE_STATUS_MORE=(int)(0x0003)
52
{ __donnot_use_enum_frstrans_UpdateStatus=0x7FFFFFFF}
53
#define FRSTRANS_UPDATE_STATUS_DONE ( 0x0002 )
54
#define FRSTRANS_UPDATE_STATUS_MORE ( 0x0003 )
58
struct frstrans_VersionVector {
64
struct frstrans_Update {
66
uint32_t name_conflict;
71
struct GUID content_set_guid;
72
uint8_t sha1_hash[20];
73
uint8_t rdc_similarity[16];
74
struct GUID uid_db_guid;
76
struct GUID gsvn_db_guid;
77
uint64_t gsvn_version;
78
struct GUID parent_db_guid;
79
uint64_t parent_version;
80
const char *name;/* [charset(UTF16)] */
82
}/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
84
enum frstrans_VersionRequestType
85
#ifndef USE_UINT_ENUMS
87
FRSTRANS_VERSION_REQUEST_NORNAL_SYNC=(int)(0x0000),
88
FRSTRANS_VERSION_REQUEST_SLOW_SYNC=(int)(0x0001),
89
FRSTRANS_VERSION_REQUEST_SLAVE_SYNC=(int)(0x0002)
92
{ __donnot_use_enum_frstrans_VersionRequestType=0x7FFFFFFF}
93
#define FRSTRANS_VERSION_REQUEST_NORNAL_SYNC ( 0x0000 )
94
#define FRSTRANS_VERSION_REQUEST_SLOW_SYNC ( 0x0001 )
95
#define FRSTRANS_VERSION_REQUEST_SLAVE_SYNC ( 0x0002 )
99
enum frstrans_VersionChangeType
100
#ifndef USE_UINT_ENUMS
102
FRSTRANS_VERSION_CHANGE_NOTIFY=(int)(0x0000),
103
FRSTRANS_VERSION_CHANGE_ALL=(int)(0x0002)
106
{ __donnot_use_enum_frstrans_VersionChangeType=0x7FFFFFFF}
107
#define FRSTRANS_VERSION_CHANGE_NOTIFY ( 0x0000 )
108
#define FRSTRANS_VERSION_CHANGE_ALL ( 0x0002 )
112
struct frstrans_EpoqueVector {
113
struct GUID machine_guid;
116
uint32_t day_of_week;
121
uint32_t milli_seconds;
124
struct frstrans_AsyncVersionVectorResponse {
125
uint64_t vv_generation;
126
uint32_t version_vector_count;
127
struct frstrans_VersionVector *version_vector;/* [unique,size_is(version_vector_count)] */
128
uint32_t epoque_vector_count;
129
struct frstrans_EpoqueVector *epoque_vector;/* [unique,size_is(epoque_vector_count)] */
132
struct frstrans_AsyncResponseContext {
133
uint32_t sequence_number;
135
struct frstrans_AsyncVersionVectorResponse response;
138
enum frstrans_RequestedStagingPolicy
139
#ifndef USE_UINT_ENUMS
141
FRSTRANS_STAGING_POLICY_SERVER_DEFAULTY=(int)(0x0000),
142
FRSTRANS_STAGING_POLICY_STATGING_REQUIRED=(int)(0x0001),
143
FRSTRANS_STAGING_POLICY_RESTATGING_REQUIRED=(int)(0x0002)
146
{ __donnot_use_enum_frstrans_RequestedStagingPolicy=0x7FFFFFFF}
147
#define FRSTRANS_STAGING_POLICY_SERVER_DEFAULTY ( 0x0000 )
148
#define FRSTRANS_STAGING_POLICY_STATGING_REQUIRED ( 0x0001 )
149
#define FRSTRANS_STAGING_POLICY_RESTATGING_REQUIRED ( 0x0002 )
153
enum frstrans_RdcChunckerAlgorithm
154
#ifndef USE_UINT_ENUMS
156
FRSTRANS_RDC_FILTER_GENERIC=(int)(0x0000),
157
FRSTRANS_RDC_FILTER_MAX=(int)(0x0001),
158
FRSTRANS_RDC_FILTER_POINT=(int)(0x0002),
159
FRSTRANS_RDC_MAX_ALGORITHM=(int)(0x0003)
162
{ __donnot_use_enum_frstrans_RdcChunckerAlgorithm=0x7FFFFFFF}
163
#define FRSTRANS_RDC_FILTER_GENERIC ( 0x0000 )
164
#define FRSTRANS_RDC_FILTER_MAX ( 0x0001 )
165
#define FRSTRANS_RDC_FILTER_POINT ( 0x0002 )
166
#define FRSTRANS_RDC_MAX_ALGORITHM ( 0x0003 )
170
struct frstrans_RdcParameterGeneric {
171
enum frstrans_RdcChunckerAlgorithm chunker_type;
172
uint8_t chunker_parameters[64];
175
struct frstrans_RdcParameterFilterMax {
176
uint16_t min_horizon_size;/* [range(128,1024*16)] */
177
uint16_t max_window_size;/* [range(2,96)] */
180
struct frstrans_RdcParameterFilterPoint {
181
uint16_t min_chunk_size;
182
uint16_t max_chunk_size;
185
union frstrans_RdcParameterUnion {
186
struct frstrans_RdcParameterGeneric filter_generic;/* [case(FRSTRANS_RDC_FILTER_GENERIC)] */
187
struct frstrans_RdcParameterFilterMax filter_max;/* [case(FRSTRANS_RDC_FILTER_MAX)] */
188
struct frstrans_RdcParameterFilterPoint filter_point;/* [case(FRSTRANS_RDC_FILTER_POINT)] */
189
}/* [switch_type(frstrans_RdcChunckerAlgorithm)] */;
191
struct frstrans_RdcParameters {
192
enum frstrans_RdcChunckerAlgorithm rdc_chunker_algorithm;
193
union frstrans_RdcParameterUnion u;/* [switch_is(rdc_chunker_algorithm)] */
196
enum frstrans_RdcVersion
197
#ifndef USE_UINT_ENUMS
199
FRSTRANS_RDC_VERSION=(int)(0x0001)
202
{ __donnot_use_enum_frstrans_RdcVersion=0x7FFFFFFF}
203
#define FRSTRANS_RDC_VERSION ( 0x0001 )
207
enum frstrans_RdcVersionCompatible
208
#ifndef USE_UINT_ENUMS
210
FRSTRANS_RDC_VERSION_COMPATIBLE=(int)(0x0001)
213
{ __donnot_use_enum_frstrans_RdcVersionCompatible=0x7FFFFFFF}
214
#define FRSTRANS_RDC_VERSION_COMPATIBLE ( 0x0001 )
218
enum frstrans_RdcCompressionAlgorithm
219
#ifndef USE_UINT_ENUMS
221
FRSTRANS_RDC_UNCOMPRESSED=(int)(0x0000),
222
FRSTRANS_RDC_XPRESS=(int)(0x0001)
225
{ __donnot_use_enum_frstrans_RdcCompressionAlgorithm=0x7FFFFFFF}
226
#define FRSTRANS_RDC_UNCOMPRESSED ( 0x0000 )
227
#define FRSTRANS_RDC_XPRESS ( 0x0001 )
231
struct frstrans_RdcFileInfo {
232
uint64_t on_disk_file_size;
233
uint64_t file_size_estimate;
234
enum frstrans_RdcVersion rdc_version;
235
enum frstrans_RdcVersionCompatible rdc_minimum_compatible_version;
236
uint8_t rdc_signature_levels;/* [range(0,8)] */
237
enum frstrans_RdcCompressionAlgorithm compression_algorithm;
238
struct frstrans_RdcParameters *rdc_filter_parameters;/* [size_is(rdc_signature_levels)] */
241
struct frstrans_BytePipe;
242
struct frstrans_BytePipe_chunk {
248
struct frstrans_CheckConnectivity {
250
struct GUID replica_set_guid;
251
struct GUID connection_guid;
261
struct frstrans_EstablishConnection {
263
struct GUID replica_set_guid;
264
struct GUID connection_guid;
265
enum frstrans_ProtocolVersion downstream_protocol_version;
266
uint32_t downstream_flags;
270
enum frstrans_ProtocolVersion *upstream_protocol_version;/* [ref] */
271
uint32_t *upstream_flags;/* [ref] */
278
struct frstrans_EstablishSession {
280
struct GUID connection_guid;
281
struct GUID content_set_guid;
291
struct frstrans_RequestUpdates {
293
struct GUID connection_guid;
294
struct GUID content_set_guid;
295
uint32_t credits_available;/* [range(0,256)] */
296
uint32_t hash_requested;/* [range(0,1)] */
297
enum frstrans_UpdateRequestType update_request_type;/* [range(0,2)] */
298
uint32_t version_vector_diff_count;
299
struct frstrans_VersionVector *version_vector_diff;/* [ref,size_is(version_vector_diff_count)] */
303
struct frstrans_Update *frs_update;/* [ref,length_is(*update_count),size_is(credits_available)] */
304
uint32_t *update_count;/* [ref] */
305
enum frstrans_UpdateStatus *update_status;/* [ref] */
306
struct GUID *gvsn_db_guid;/* [ref] */
307
uint64_t *gvsn_version;/* [ref] */
314
struct frstrans_RequestVersionVector {
316
uint32_t sequence_number;
317
struct GUID connection_guid;
318
struct GUID content_set_guid;
319
enum frstrans_VersionRequestType request_type;/* [range(0,2)] */
320
enum frstrans_VersionChangeType change_type;/* [range(0,2)] */
321
uint64_t vv_generation;
331
struct frstrans_AsyncPoll {
333
struct GUID connection_guid;
337
struct frstrans_AsyncResponseContext *response;/* [ref] */
344
struct FRSTRANS_REQUEST_RECORDS {
349
struct FRSTRANS_UPDATE_CANCEL {
354
struct FRSTRANS_RAW_GET_FILE_DATA {
359
struct FRSTRANS_RDC_GET_SIGNATURES {
364
struct FRSTRANS_RDC_PUSH_SOURCE_NEEDS {
369
struct FRSTRANS_RDC_GET_FILE_DATA {
374
struct FRSTRANS_RDC_CLOSE {
379
struct frstrans_InitializeFileTransferAsync {
381
struct GUID connection_guid;
382
uint32_t rdc_desired;/* [range(0,1)] */
383
uint32_t buffer_size;/* [range(0,262144)] */
384
struct frstrans_Update *frs_update;/* [ref] */
385
enum frstrans_RequestedStagingPolicy *staging_policy;/* [ref] */
389
struct policy_handle *server_context;/* [ref] */
390
struct frstrans_RdcFileInfo **rdc_file_info;/* [ref] */
391
uint8_t *data_buffer;/* [ref,length_is(*size_read),size_is(buffer_size)] */
392
uint32_t *size_read;/* [ref] */
393
uint32_t *is_end_of_file;/* [ref] */
394
struct frstrans_Update *frs_update;/* [ref] */
395
enum frstrans_RequestedStagingPolicy *staging_policy;/* [ref] */
402
struct FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE {
407
struct frstrans_RawGetFileDataAsync {
409
struct policy_handle *server_context;/* [ref] */
413
struct frstrans_BytePipe *byte_pipe;/* [ref] */
420
struct frstrans_RdcGetFileDataAsync {
422
struct policy_handle *server_context;/* [ref] */
426
struct frstrans_BytePipe *byte_pipe;/* [ref] */
432
#endif /* _HEADER_frstrans */
433
#endif /* _PIDL_HEADER_frstrans */