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

« back to all changes in this revision

Viewing changes to libmapi/FXICS.c

  • 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:
76
76
        if ((retval = mapi_object_get_logon_id(obj_store, &logon_id)) != MAPI_E_SUCCESS)
77
77
                return retval;
78
78
 
79
 
        mem_ctx = talloc_named(NULL, 0, "GetLocalReplicaIds");
 
79
        mem_ctx = talloc_named(session, 0, "GetLocalReplicaIds");
80
80
        size = 0;
81
81
 
82
82
        /* Fill the GetLocalReplicaIds operation */
166
166
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
167
167
                return retval;
168
168
 
169
 
        mem_ctx = talloc_named(NULL, 0, "FXDestConfigure");
 
169
        mem_ctx = talloc_named(session, 0, "FXDestConfigure");
170
170
        size = 0;
171
171
 
172
172
        /* Fill the ConfigureDestination operation */
252
252
        if ((retval = mapi_object_get_logon_id(obj_store, &logon_id)) != MAPI_E_SUCCESS)
253
253
                return retval;
254
254
 
255
 
        mem_ctx = talloc_named(NULL, 0, "TellVersion");
 
255
        mem_ctx = talloc_named(session, 0, "TellVersion");
256
256
        size = 0;
257
257
 
258
258
        /* Fill the operation */
344
344
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
345
345
                return retval;
346
346
 
347
 
        mem_ctx = talloc_named(NULL, 0, "FXCopyFolder");
 
347
        mem_ctx = talloc_named(session, 0, "FXCopyFolder");
348
348
        size = 0;
349
349
 
350
350
        /* Fill the CopyFolder operation */
455
455
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
456
456
                return retval;
457
457
 
458
 
        mem_ctx = talloc_named(NULL, 0, "FXCopyMessages");
 
458
        mem_ctx = talloc_named(session, 0, "FXCopyMessages");
459
459
        size = 0;
460
460
 
461
461
        /* Fill the CopyMessages operation */
566
566
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
567
567
                return retval;
568
568
 
569
 
        mem_ctx = talloc_named(NULL, 0, "FXCopyTo");
 
569
        mem_ctx = talloc_named(session, 0, "FXCopyTo");
570
570
        size = 0;
571
571
 
572
572
        /* Fill the CopyTo operation */
676
676
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
677
677
                return retval;
678
678
 
679
 
        mem_ctx = talloc_named(NULL, 0, "FXCopyProperties");
 
679
        mem_ctx = talloc_named(session, 0, "FXCopyProperties");
680
680
        size = 0;
681
681
 
682
682
        /* Fill the CopyProperties operation */
775
775
        if ((retval = mapi_object_get_logon_id(obj_source_context, &logon_id)) != MAPI_E_SUCCESS)
776
776
                return retval;
777
777
 
778
 
        mem_ctx = talloc_named(NULL, 0, "FXGetBuffer");
 
778
        mem_ctx = talloc_named(session, 0, "FXGetBuffer");
779
779
        size = 0;
780
780
 
781
781
        /* Fill the GetBuffer operation */
873
873
        if ((retval = mapi_object_get_logon_id(obj_dest_context, &logon_id)) != MAPI_E_SUCCESS)
874
874
                return retval;
875
875
 
876
 
        mem_ctx = talloc_named(NULL, 0, "FXPutBuffer");
 
876
        mem_ctx = talloc_named(session, 0, "FXPutBuffer");
877
877
        size = 0;
878
878
 
879
879
        /* Fill the PutBuffer operation */
1003
1003
        if ((retval = mapi_object_get_logon_id(obj, &logon_id)) != MAPI_E_SUCCESS)
1004
1004
                return retval;
1005
1005
 
1006
 
        mem_ctx = talloc_named(NULL, 0, "RopSynchronizationConfigure");
 
1006
        mem_ctx = talloc_named(session, 0, "RopSynchronizationConfigure");
1007
1007
        size = 0;
1008
1008
 
1009
1009
        /* Fill the SyncConfigure operation */
1013
1013
        size += sizeof(uint8_t);
1014
1014
        request.SendOptions = send_options;
1015
1015
        size += sizeof(uint8_t);
1016
 
        request.SynchronizationFlags = sync_flags;
 
1016
        request.SynchronizationFlag = sync_flags;
1017
1017
        size += sizeof(uint16_t);
1018
1018
        request.RestrictionSize = restriction.length;
1019
1019
        size += sizeof(uint16_t);
1110
1110
        if ((retval = mapi_object_get_logon_id(obj_sync_context, &logon_id)) != MAPI_E_SUCCESS)
1111
1111
                return retval;
1112
1112
 
1113
 
        mem_ctx = talloc_named(NULL, 0, "ICSSyncUploadStateBegin");
 
1113
        mem_ctx = talloc_named(session, 0, "ICSSyncUploadStateBegin");
1114
1114
        size = 0;
1115
1115
 
1116
1116
        /* Fill the RopSynchronizationUploadStateBegin operation */
1188
1188
        if ((retval = mapi_object_get_logon_id(obj_sync_context, &logon_id)) != MAPI_E_SUCCESS)
1189
1189
                return retval;
1190
1190
 
1191
 
        mem_ctx = talloc_named(NULL, 0, "ICSSyncUploadStateContinue");
 
1191
        mem_ctx = talloc_named(session, 0, "ICSSyncUploadStateContinue");
1192
1192
        size = 0;
1193
1193
 
1194
1194
        /* Fill the RopSynchronizationUploadStateBegin operation */
1264
1264
        if ((retval = mapi_object_get_logon_id(obj_sync_context, &logon_id)) != MAPI_E_SUCCESS)
1265
1265
                return retval;
1266
1266
 
1267
 
        mem_ctx = talloc_named(NULL, 0, "ICSSyncUploadStateEnd");
 
1267
        mem_ctx = talloc_named(session, 0, "ICSSyncUploadStateEnd");
1268
1268
        size = 0;
1269
1269
 
1270
1270
        /* Fill the MAPI_REQ structure */
1344
1344
                return retval;
1345
1345
        }
1346
1346
 
1347
 
        mem_ctx = talloc_named(NULL, 0, __FUNCTION__);
 
1347
        mem_ctx = talloc_named(session, 0, __FUNCTION__);
1348
1348
        size = 0;
1349
1349
 
1350
1350
        /* Fill the SetLocalReplicaMidsetDeleted operation */
1446
1446
        if ((retval = mapi_object_get_logon_id(folder, &logon_id)) != MAPI_E_SUCCESS)
1447
1447
                return retval;
1448
1448
 
1449
 
        mem_ctx = talloc_named(NULL, 0, __FUNCTION__);
 
1449
        mem_ctx = talloc_named(session, 0, __FUNCTION__);
1450
1450
        size = 0;
1451
1451
 
1452
1452
        /* Fill the SyncOpenCollector operation */
1533
1533
                return retval;
1534
1534
        }
1535
1535
 
1536
 
        mem_ctx = talloc_named(NULL, 0, __FUNCTION__);
 
1536
        mem_ctx = talloc_named(session, 0, __FUNCTION__);
1537
1537
 
1538
1538
        /* Fill the SyncGetTransferState operation */
1539
1539
        request.handle_idx = 0x01;