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

« back to all changes in this revision

Viewing changes to libmapi/IMAPIFolder.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:
66
66
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
67
67
                return retval;
68
68
 
69
 
        mem_ctx = talloc_named(NULL, 0, "CreateMessage");
 
69
        mem_ctx = talloc_named(session, 0, "CreateMessage");
70
70
        size = 0;
71
71
 
72
72
        /* Fill the OpenFolder operation */
157
157
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
158
158
                return retval;
159
159
 
160
 
        mem_ctx = talloc_named(NULL, 0, "DeleteMessages");
 
160
        mem_ctx = talloc_named(session, 0, "DeleteMessages");
161
161
        size = 0;
162
162
 
163
163
        /* Fill the DeleteMessages operation */
245
245
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
246
246
                return retval;
247
247
 
248
 
        mem_ctx = talloc_named(NULL, 0, "HardDeleteMessages");
 
248
        mem_ctx = talloc_named(session, 0, "HardDeleteMessages");
249
249
        size = 0;
250
250
 
251
251
        /* Fill the HardDeleteMessages operation */
329
329
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
330
330
                return retval;
331
331
 
332
 
        mem_ctx = talloc_named(NULL, 0, "GetMessageStatus");
 
332
        mem_ctx = talloc_named(session, 0, "GetMessageStatus");
333
333
        size = 0;
334
334
 
335
335
        /* Fill the GetMessageStatus operation */
428
428
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
429
429
                return retval;
430
430
 
431
 
        mem_ctx = talloc_named(NULL, 0, "SetMessageStatus");
 
431
        mem_ctx = talloc_named(session, 0, "SetMessageStatus");
432
432
        size = 0;
433
433
 
434
434
        /* Fill the SetMessageStatus operation */
525
525
        if ((retval = mapi_object_get_logon_id(obj_src, &logon_id)) != MAPI_E_SUCCESS)
526
526
                return retval;
527
527
 
528
 
        mem_ctx = talloc_named(NULL, 0, "MoveCopyMessages");
 
528
        mem_ctx = talloc_named(session[0], 0, "MoveCopyMessages");
529
529
        size = 0;
530
530
 
531
531
        /* Fill the CopyMessage operation */
640
640
                        ulFolderType != FOLDER_SEARCH),
641
641
                       MAPI_E_INVALID_PARAMETER, NULL);
642
642
 
643
 
        mem_ctx = talloc_named(NULL, 0, "CreateFolder");
 
643
        mem_ctx = talloc_named(session, 0, "CreateFolder");
644
644
        size = 0;
645
645
 
646
646
        /* Fill the CreateFolder operation */
771
771
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
772
772
                return retval;
773
773
 
774
 
        mem_ctx = talloc_named(NULL, 0, "EmptyFolder");
 
774
        mem_ctx = talloc_named(session, 0, "EmptyFolder");
775
775
        size = 0;
776
776
 
777
777
        /* Fill the EmptyFolder operation */
866
866
        if ((retval = mapi_object_get_logon_id(obj_parent, &logon_id)) != MAPI_E_SUCCESS)
867
867
                return retval;
868
868
 
869
 
        mem_ctx = talloc_named(NULL, 0, "DeleteFolder");
 
869
        mem_ctx = talloc_named(session, 0, "DeleteFolder");
870
870
        size = 0;
871
871
 
872
872
        /* Fill the DeleteFolder operation */
962
962
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
963
963
                return retval;
964
964
 
965
 
        mem_ctx = talloc_named(NULL, 0, "MoveFolder");
 
965
        mem_ctx = talloc_named(session[0], 0, "MoveFolder");
966
966
        size = 0;
967
967
 
968
968
        /* Fill the MoveFolder operation */
1074
1074
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
1075
1075
                return retval;
1076
1076
 
1077
 
        mem_ctx = talloc_named(NULL, 0, "CopyFolder");
 
1077
        mem_ctx = talloc_named(session[0], 0, "CopyFolder");
1078
1078
 
1079
1079
        size = 0;
1080
1080
 
1183
1183
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
1184
1184
                return retval;
1185
1185
 
1186
 
        mem_ctx = talloc_named(NULL, 0, "SetReadFlags");
 
1186
        mem_ctx = talloc_named(session, 0, "SetReadFlags");
1187
1187
 
1188
1188
        size = 0;
1189
1189
 
1269
1269
        if ((retval = mapi_object_get_logon_id(obj_folder, &logon_id)) != MAPI_E_SUCCESS)
1270
1270
                return retval;
1271
1271
 
1272
 
        mem_ctx = talloc_named(NULL, 0, "HardDeleteMessagesAndSubfolders");
 
1272
        mem_ctx = talloc_named(session, 0, "HardDeleteMessagesAndSubfolders");
1273
1273
        size = 0;
1274
1274
 
1275
1275
        /* Fill the EmptyFolder operation */