~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to mapiproxy/libmapiserver/libmapiserver.h

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
#define SIZE_DFLT_ROPGETPROPERTIESSPECIFIC      1
94
94
 
95
95
/**
 
96
   \details GetPropertiesAllRop has fixed response size for:
 
97
   -# cValues: uint16_t
 
98
 */
 
99
#define SIZE_DFLT_ROPGETPROPERTIESALL           2
 
100
 
 
101
/**
 
102
   \details GetPropertiesListRop has fixed response size for:
 
103
   -# count: uint16_t
 
104
 */
 
105
#define SIZE_DFLT_ROPGETPROPERTIESLIST          2
 
106
 
 
107
/**
96
108
   \details: SetPropertiesRop has fixed response size for:
97
109
   -# PropertyProblemCount: uint16_t
98
110
 */
105
117
#define SIZE_DFLT_ROPDELETEPROPERTIES           2
106
118
 
107
119
/**
 
120
   \details: CopyToRop has fixed response size for:
 
121
   -# PropertyProblemCount: uint16_t
 
122
 */
 
123
#define SIZE_DFLT_ROPCOPYTO             2
 
124
 
 
125
/**
108
126
   \details: SaveChangesMessageRop has fixed response size for:
109
127
   -# handle_idx: uint8_t
110
128
   -# MessageId: uint64_t
126
144
#define SIZE_DFLT_ROPSETMESSAGEREADFLAG         1
127
145
 
128
146
/**
 
147
   \details: CreateAttachRop has fixed response size for:
 
148
   -# AttachmentId: uint32_t
 
149
 */
 
150
#define SIZE_DFLT_ROPCREATEATTACH               4
 
151
 
 
152
/**
 
153
   \details: OpenEmbeddedMessage has fixed response size for:
 
154
   -# Reserved: uint8_t
 
155
   -# MessageId: uint64_t
 
156
   -# HasNamedProperties: uint8_t
 
157
   -# RecipientCount: uint16_t
 
158
   -# RecipientColumns.cValues: uint16_t
 
159
   -# RowCount: uint8_t
 
160
 */
 
161
#define SIZE_DFLT_ROPOPENEMBEDDEDMESSAGE        15
 
162
 
 
163
/**
129
164
   \details SetColumnsRop has fixed response size for:
130
165
   -# TableStatus: uint8_t
131
166
 */
203
238
#define SIZE_DFLT_ROPGETSTREAMSIZE              4
204
239
 
205
240
/**
 
241
   \details SeekStream has fixed response size for:
 
242
   -# NewPosition: uint64_t
 
243
 */
 
244
#define SIZE_DFLT_ROPSEEKSTREAM                 8
 
245
 
 
246
/**
206
247
   \details GetReceiveFolder has fixed response size for:
207
248
   -# folder_id: uint64_t
208
249
 */
216
257
#define SIZE_DFLT_ROPGETADDRESSTYPES            4
217
258
 
218
259
/**
 
260
   \details TransportSend  has fixed response size for:
 
261
   -# NoPropertiesReturned: uint8_t
 
262
 */
 
263
#define SIZE_DFLT_ROPTRANSPORTSEND              1
 
264
 
 
265
/**
219
266
   \details GetTransportFolder has fixed response size for:
220
267
   -# FolderId: uint64_t
221
268
 */
237
284
#define SIZE_DFLT_ROPFINDROW                    2
238
285
 
239
286
/**
 
287
   \details GetNamesFromIDs has fixed response size for:
 
288
   -# PropertyNameCount: uint16_t
 
289
 */
 
290
#define SIZE_DFLT_ROPGETNAMESFROMIDS            2
 
291
 
 
292
/**
240
293
   \details GetPropertyIdsFromNames has fixed response size for:
241
294
   -# count: uint16_t
242
295
 */
246
299
   \details GetPropertyIdsFromNames has fixed response size for:
247
300
   -# PropertyProblemCount: uint16_t
248
301
 */
249
 
#define SIZE_DFLT_ROPDELETEPROPERTIESNOREPLICATE        2
 
302
#define SIZE_DFLT_ROPDELETEPROPERTIESNOREPLICATE 2
250
303
 
251
304
/**
252
305
   \details EmptyFolder has fixed response size for:
253
306
   -# PartialCompletion: uint8_t
254
307
 */
255
 
#define SIZE_DFLT_ROPEMPTYFOLDER                1
 
308
#define SIZE_DFLT_ROPEMPTYFOLDER                1
 
309
 
 
310
/**
 
311
   \details MoveCopyMessages Rop has fixed response size for:
 
312
   -#: PartialCompletion: uint8_t
 
313
 
 
314
*/
 
315
#define SIZE_DFLT_ROPMOVECOPYMESSAGES           1 
256
316
 
257
317
/**
258
318
   \details DeleteMessage Rop has fixed response size for:
260
320
 */
261
321
#define SIZE_DFLT_ROPDELETEMESSAGE              1
262
322
 
 
323
/**
 
324
   \details Notify Rop has non-default fixed response size for:
 
325
   -# RopId: uint8_t
 
326
   -# NotificationHandle: uint32_t
 
327
   -# LogonId: uint8_t
 
328
   -# NotificationType: uint16_t
 
329
 */
 
330
#define SIZE_DFLT_ROPNOTIFY                     8
263
331
 
264
332
/**
265
333
   \details GetSearchCriteria Rop has fixed response size for:
271
339
#define SIZE_DFLT_ROPGETSEARCHCRITERIA          9
272
340
 
273
341
/**
 
342
   \details LongTermIdFromId Rop has fixed response size for:
 
343
   -# DatabaseGuid: 16 * uint8_t
 
344
   -# LongTermId: 6 * uint8_t
 
345
   -# Padding: uint16_t
 
346
*/
 
347
#define SIZE_DFLT_ROPLONGTERMIDFROMID           24;
 
348
 
 
349
/**
 
350
   \details IdFromLongTermId Rop has fixed response size for:
 
351
   -# Id: 8 * uint8_t
 
352
*/
 
353
#define SIZE_DFLT_ROPIDFROMLONGTERMID           8;
 
354
 
 
355
/**
274
356
   \details GetPerUserLongTermIds has fixed response size for:
275
357
   -# LongTermIdCount: uint16_t
276
358
 */
289
371
 */
290
372
#define SIZE_DFLT_ROPGETPERUSERGUID             16
291
373
 
 
374
/**
 
375
   \details GetStoreState has fixed response size for:
 
376
   -# StoreState: uin32_t
 
377
 */
 
378
#define SIZE_DFLT_ROPGETSTORESTATE              4
292
379
 
293
380
/**
294
381
   \details LogonRop has a fixed size for mailbox:
332
419
#define SIZE_DFLT_LONGTERMID            24
333
420
 
334
421
/**
 
422
   \details PropertyName structure is fixed size:
 
423
   -# Kind: uint8_t
 
424
   -# GUID: uint8_t * 16
 
425
 */
 
426
#define SIZE_DFLT_PROPERTYNAME          17
 
427
 
 
428
/**
335
429
   \details FastTransferSourceGetBuffer has a fixed size for:
336
430
   -# TransferStatus: uint16_t
337
431
   -# InProgressCount: uint16_t
341
435
 */
342
436
#define SIZE_DFLT_ROPFASTTRANSFERSOURCEGETBUFFER 9
343
437
 
 
438
/**
 
439
   \details SyncImportMessageChange has a fixed size for:
 
440
   -# FolderId: uint64_t
 
441
*/
 
442
#define SIZE_DFLT_ROPSYNCIMPORTMESSAGECHANGE 8
 
443
 
 
444
/**
 
445
   \details SyncImportHierarchyChange has a fixed size for:
 
446
   -# FolderId: uint64_t
 
447
*/
 
448
#define SIZE_DFLT_ROPSYNCIMPORTHIERARCHYCHANGE 8
 
449
 
 
450
/**
 
451
   \details SyncImportMessageMove has a fixed size for:
 
452
   -# MessageId: uint64_t
 
453
*/
 
454
#define SIZE_DFLT_ROPSYNCIMPORTMESSAGEMOVE 8
 
455
 
 
456
/**
 
457
   \details GetLocalReplicaIds has a fixed size for:
 
458
   -# ReplGuid: sizeof (struct GUID)
 
459
   -# GlobalCount: uint8_t * 6
 
460
 */
 
461
#define SIZE_DFLT_ROPGETLOCALREPLICAIDS 22
 
462
 
344
463
__BEGIN_DECLS
345
464
 
346
465
/* definitions from libmapiserver_oxcfold.c */
353
472
uint16_t libmapiserver_RopSetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *);
354
473
uint16_t libmapiserver_RopGetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *);
355
474
uint16_t libmapiserver_RopEmptyFolder_size(struct EcDoRpc_MAPI_REPL *);
 
475
uint16_t libmapiserver_RopMoveCopyMessages_size(struct EcDoRpc_MAPI_REPL *);
 
476
 
356
477
 
357
478
/* definitions from libmapiserver_oxcmsg.c */
358
479
uint16_t libmapiserver_RopOpenMessage_size(struct EcDoRpc_MAPI_REPL *);
363
484
uint16_t libmapiserver_RopReloadCachedInformation_size(struct EcDoRpc_MAPI_REPL *);
364
485
uint16_t libmapiserver_RopSetMessageReadFlag_size(struct EcDoRpc_MAPI_REPL *);
365
486
uint16_t libmapiserver_RopGetAttachmentTable_size(struct EcDoRpc_MAPI_REPL *);
 
487
uint16_t libmapiserver_RopOpenAttach_size(struct EcDoRpc_MAPI_REPL *);
 
488
uint16_t libmapiserver_RopCreateAttach_size(struct EcDoRpc_MAPI_REPL *);
 
489
uint16_t libmapiserver_RopSaveChangesAttachment_size(struct EcDoRpc_MAPI_REPL *);
 
490
uint16_t libmapiserver_RopOpenEmbeddedMessage_size(struct EcDoRpc_MAPI_REPL *response);
366
491
 
367
492
/* definitions from libmapiserver_oxcnotif.c */
368
493
uint16_t libmapiserver_RopRegisterNotification_size(void);
 
494
uint16_t libmapiserver_RopNotify_size(struct EcDoRpc_MAPI_REPL *);
369
495
 
370
496
/* definitions from libmapiserver_oxcdata.c */
371
497
uint16_t libmapiserver_TypedString_size(struct TypedString);
372
498
uint16_t libmapiserver_RecipientRow_size(struct RecipientRow);
373
499
uint16_t libmapiserver_LongTermId_size(void);
 
500
uint16_t libmapiserver_PropertyName_size(struct MAPINAMEID *);
 
501
uint16_t libmapiserver_mapi_SPropValue_size(uint16_t, struct mapi_SPropValue *);
374
502
 
375
503
/* definitions from libmapiserver_oxcprpt.c */
376
504
uint16_t libmapiserver_RopSetProperties_size(struct EcDoRpc_MAPI_REPL *);
377
505
uint16_t libmapiserver_RopDeleteProperties_size(struct EcDoRpc_MAPI_REPL *);
378
506
uint16_t libmapiserver_RopGetPropertiesSpecific_size(struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *);
 
507
uint16_t libmapiserver_RopGetPropertiesAll_size(struct EcDoRpc_MAPI_REPL *);
 
508
uint16_t libmapiserver_RopGetPropertiesList_size(struct EcDoRpc_MAPI_REPL *);
379
509
uint16_t libmapiserver_RopOpenStream_size(struct EcDoRpc_MAPI_REPL *);
380
510
uint16_t libmapiserver_RopReadStream_size(struct EcDoRpc_MAPI_REPL *);
381
511
uint16_t libmapiserver_RopWriteStream_size(struct EcDoRpc_MAPI_REPL *);
 
512
uint16_t libmapiserver_RopCommitStream_size(struct EcDoRpc_MAPI_REPL *);
382
513
uint16_t libmapiserver_RopGetStreamSize_size(struct EcDoRpc_MAPI_REPL *);
 
514
uint16_t libmapiserver_RopSeekStream_size(struct EcDoRpc_MAPI_REPL *);
 
515
uint16_t libmapiserver_RopSetStreamSize_size(struct EcDoRpc_MAPI_REPL *);
 
516
uint16_t libmapiserver_RopGetNamesFromIDs_size(struct EcDoRpc_MAPI_REPL *);
383
517
uint16_t libmapiserver_RopGetPropertyIdsFromNames_size(struct EcDoRpc_MAPI_REPL *);
384
518
uint16_t libmapiserver_RopDeletePropertiesNoReplicate_size(struct EcDoRpc_MAPI_REPL *);
385
 
int libmapiserver_push_property(TALLOC_CTX *, uint32_t, const void *, DATA_BLOB *, uint8_t, uint8_t);
 
519
uint16_t libmapiserver_RopCopyTo_size(struct EcDoRpc_MAPI_REPL *);
 
520
int libmapiserver_push_property(TALLOC_CTX *, uint32_t, const void *, DATA_BLOB *, uint8_t, uint8_t, uint8_t);
386
521
struct SRow *libmapiserver_ROP_request_to_properties(TALLOC_CTX *, void *, uint8_t);
387
522
 
388
523
/* definitions from libmapiserver_oxcstor.c */
390
525
uint16_t libmapiserver_RopRelease_size(void);
391
526
uint16_t libmapiserver_RopSetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *);
392
527
uint16_t libmapiserver_RopGetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *);
 
528
uint16_t libmapiserver_RopLongTermIdFromId_size(struct EcDoRpc_MAPI_REPL *);
 
529
uint16_t libmapiserver_RopIdFromLongTermId_size(struct EcDoRpc_MAPI_REPL *);
393
530
uint16_t libmapiserver_RopGetPerUserLongTermIds_size(struct EcDoRpc_MAPI_REPL *);
394
531
uint16_t libmapiserver_RopReadPerUserInformation_size(struct EcDoRpc_MAPI_REPL *);
395
532
uint16_t libmapiserver_RopGetPerUserGuid_size(struct EcDoRpc_MAPI_REPL *);
 
533
uint16_t libmapiserver_RopGetStoreState_size(struct EcDoRpc_MAPI_REPL *);
396
534
uint16_t libmapiserver_RopGetReceiveFolderTable_size(struct EcDoRpc_MAPI_REPL *);
397
535
 
398
536
/* definitions from libmapiserver_oxctabl.c */
409
547
uint16_t libmapiserver_RopSubmitMessage_size(struct EcDoRpc_MAPI_REPL *);
410
548
uint16_t libmapiserver_RopSetSpooler_size(struct EcDoRpc_MAPI_REPL *);
411
549
uint16_t libmapiserver_RopGetAddressTypes_size(struct EcDoRpc_MAPI_REPL *);
 
550
uint16_t libmapiserver_RopTransportSend_size(struct EcDoRpc_MAPI_REPL *);
412
551
uint16_t libmapiserver_RopGetTransportFolder_size(struct EcDoRpc_MAPI_REPL *);
413
552
uint16_t libmapiserver_RopOptionsData_size(struct EcDoRpc_MAPI_REPL *);
414
553
 
418
557
 
419
558
/* definitions from libmapiserver_oxcperm.c */
420
559
uint16_t libmapiserver_RopGetPermissionsTable_size(struct EcDoRpc_MAPI_REPL *);
 
560
uint16_t libmapiserver_RopModifyPermissions_size(struct EcDoRpc_MAPI_REPL *);
421
561
 
422
562
/* definitions from libmapiserver_oxcfxics.c */
423
 
uint16_t libmapiserver_RopFastTransferSourceCopyTo_size(struct EcDoRpc_MAPI_REPL *response);
424
 
uint16_t libmapiserver_RopFastTransferSourceGetBuffer_size(struct EcDoRpc_MAPI_REPL *response);
 
563
uint16_t libmapiserver_RopFastTransferSourceCopyTo_size(struct EcDoRpc_MAPI_REPL *);
 
564
uint16_t libmapiserver_RopFastTransferSourceGetBuffer_size(struct EcDoRpc_MAPI_REPL *);
 
565
uint16_t libmapiserver_RopSyncConfigure_size(struct EcDoRpc_MAPI_REPL *);
 
566
uint16_t libmapiserver_RopSyncImportMessageChange_size(struct EcDoRpc_MAPI_REPL *);
 
567
uint16_t libmapiserver_RopSyncImportHierarchyChange_size(struct EcDoRpc_MAPI_REPL *);
 
568
uint16_t libmapiserver_RopSyncImportDeletes_size(struct EcDoRpc_MAPI_REPL *);
 
569
uint16_t libmapiserver_RopSyncUploadStateStreamBegin_size(struct EcDoRpc_MAPI_REPL *);
 
570
uint16_t libmapiserver_RopSyncUploadStateStreamContinue_size(struct EcDoRpc_MAPI_REPL *);
 
571
uint16_t libmapiserver_RopSyncUploadStateStreamEnd_size(struct EcDoRpc_MAPI_REPL *);
 
572
uint16_t libmapiserver_RopSyncImportMessageMove_size(struct EcDoRpc_MAPI_REPL *);
 
573
uint16_t libmapiserver_RopSyncOpenCollector_size(struct EcDoRpc_MAPI_REPL *);
 
574
uint16_t libmapiserver_RopGetLocalReplicaIds_size(struct EcDoRpc_MAPI_REPL *);
 
575
uint16_t libmapiserver_RopSyncImportReadStateChanges_size(struct EcDoRpc_MAPI_REPL *);
 
576
uint16_t libmapiserver_RopSyncGetTransferState_size(struct EcDoRpc_MAPI_REPL *);
 
577
uint16_t libmapiserver_RopSetLocalReplicaMidsetDeleted_size(struct EcDoRpc_MAPI_REPL *response);
425
578
 
426
579
__END_DECLS
427
580