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

« back to all changes in this revision

Viewing changes to property.idl

  • 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:
9
9
]
10
10
interface property
11
11
{
 
12
        typedef [v1_enum] enum {
 
13
                seOpenToDelete          = 0x00000001,
 
14
                seNoFrame               = 0x00000008,
 
15
                seCoerceToInbox         = 0x00000010,
 
16
                seOpenToCopy            = 0x00000020,
 
17
                seOpenToMove            = 0x00000040,
 
18
                seOpenForCtxMenu        = 0x00000100,
 
19
                seCannotUndoDelete      = 0x00000400,
 
20
                seCannotUndoCopy        = 0x00000800,
 
21
                seCannotUndoMove        = 0x00001000,
 
22
                seHasScript             = 0x00002000,
 
23
                seOpenToPermDelete      = 0x00004000
 
24
        } SideEffects;
 
25
 
12
26
        typedef [enum16bit] enum {
13
27
                RecurFrequency_Daily    = 0x200A,
14
28
                RecurFrequency_Weekly   = 0x200B,
15
29
                RecurFrequency_Monthly  = 0x200C,
16
30
                RecurFrequency_Yearly   = 0x200D
17
31
        } RecurFrequency;
18
 
        
 
32
 
19
33
        typedef [enum16bit] enum {
20
34
                PatternType_Day         = 0x0,
21
35
                PatternType_Week        = 0x1,
58
72
        } WeekRecurrencePattern;
59
73
 
60
74
        typedef [v1_enum] enum {
 
75
                olFree          = 0x00000000,
 
76
                olTentative     = 0x00000001,
 
77
                olBusy          = 0x00000002,
 
78
                olOutOfOffice   = 0x00000003
 
79
        } FreeBusyStatus; /* oxocal - 2.2.1.2 */
 
80
 
 
81
        typedef [v1_enum] enum {
61
82
                RecurrenceN_First       =       0x1,
62
83
                RecurrenceN_Second      =       0x2,
63
84
                RecurrenceN_Third       =       0x3,
132
153
                uint32                                          StartDate;
133
154
                uint32                                          EndDate;
134
155
        } RecurrencePattern;
 
156
 
 
157
        typedef [public,flag(NDR_NOALIGN)] struct {     
 
158
                uint32                                          ReservedBlockEE1Size;
 
159
                [size_is(ReservedBlockEE1Size)] uint8           ReservedBlockEE1[];
 
160
                uint32                                          StartDateTime;                  
 
161
                uint32                                          EndDateTime;
 
162
                uint32                                          OriginalStartDate;
 
163
                uint16                                          WideCharSubjectLength;
 
164
                [size_is(WideCharSubjectLength+1)] uint16       WideCharSubject[];
 
165
                uint16                                          WideCharLocationLength;
 
166
                [size_is(WideCharLocationLength+1)] uint16      WideCharLocation[];
 
167
                uint32                                          ReservedBlockEE2Size;
 
168
                [size_is(ReservedBlockEE2Size)] uint8           ReservedBlockEE2[];
 
169
        } OldExtendedException;
135
170
        
136
171
        typedef [public,flag(NDR_NOALIGN)] struct {
137
172
                uint32                                          ChangeHighlightSize;
190
225
                        [switch_is(OverrideFlags & 0x0100)]     Exception_Value                 AppointmentColor;
191
226
        } ExceptionInfo;
192
227
 
 
228
        typedef [nodiscriminant,flag(NDR_NOALIGN)] union {
 
229
                [case(0x3008)] OldExtendedException     OldExtendedException;
 
230
                [default] ExtendedException             ExtendedException;
 
231
        } ExtendedExceptionData;
 
232
 
193
233
        typedef [public,flag(NDR_NOALIGN)] struct {
194
 
                RecurrencePattern                               RecurrencePattern;
195
 
                uint32                                          ReaderVersion2;
196
 
                uint32                                          WriterVersion2;
197
 
                uint32                                          StartTimeOffset;
198
 
                uint32                                          EndTimeOffset;
199
 
                uint16                                          ExceptionCount;
200
 
                ExceptionInfo                                   ExceptionInfo[ExceptionCount];
201
 
                uint32                                          ReservedBlock1Size;
202
 
                [size_is(ReservedBlock1Size)]   uint32          ReservedBlock1[];
203
 
                ExtendedException                               ExtendedException[ExceptionCount];
204
 
                uint32                                          ReservedBlock2Size;
205
 
                [size_is(ReservedBlock2Size)]   uint32          ReservedBlock2[];
 
234
                RecurrencePattern                                       RecurrencePattern;
 
235
                uint32                                                  ReaderVersion2;
 
236
                uint32                                                  WriterVersion2;
 
237
                uint32                                                  StartTimeOffset;
 
238
                uint32                                                  EndTimeOffset;
 
239
                uint16                                                  ExceptionCount;
 
240
                ExceptionInfo                                           ExceptionInfo[ExceptionCount];
 
241
                uint32                                                  ReservedBlock1Size;
 
242
                uint32                                                  ReservedBlock1[ReservedBlock1Size];
 
243
                // // ExtendedException                                 ExtendedException;
 
244
                [switch_is(WriterVersion2)] ExtendedExceptionData       ExtendedExceptionData[ExceptionCount];
 
245
                uint32                                                  ReservedBlock2Size;
 
246
                uint32                                                  ReservedBlock2[ReservedBlock2Size];
206
247
        } AppointmentRecurrencePattern;
207
248
        
208
249
        /* [MS-DIF].pdf Section 2.3.6 */
240
281
                uint32                  Size;
241
282
                uint8                   Data[Size];
242
283
        } GlobalObjectId;
 
284
 
 
285
        typedef [enum16bit] enum {
 
286
                eitLTPrivateFolder              = 0x01,
 
287
                eitLTPPublicFolder              = 0x03,
 
288
                eitLTPMappedPublicFolder        = 0x05,
 
289
                eitLTPPrivateMessage            = 0x07,
 
290
                eitLTPPublicMessage             = 0x09,
 
291
                eitLTPMappedPublicMessage       = 0x0b,
 
292
                eitLTPPublicNewsgroupFolder     = 0x0c
 
293
        } EntryIdFolderType;
 
294
 
 
295
        /* PtypServerId */
 
296
        typedef [public,flag(NDR_NOALIGN)] struct {
 
297
                uint8                   ours;
 
298
                dlong                   FolderId;
 
299
                dlong                   MessageId;
 
300
                int32                   Instance;
 
301
        } PtypServerId;
 
302
 
 
303
        /* FolderEntryId */
 
304
        typedef [public,flag(NDR_NOALIGN)] struct {
 
305
                uint32                  Flags;
 
306
                GUID                    ProviderUID;
 
307
                EntryIdFolderType       FolderType;
 
308
                GUID                    FolderDatabaseGuid;
 
309
                [switch_is(1)] GLOBCNT  FolderGlobalCounter;
 
310
                uint16                  Pad;
 
311
        } FolderEntryId;
 
312
 
 
313
        /* PR_ENTRYID/PR_TARGET_ENTRYID (messages) */
 
314
        typedef [public,flag(NDR_NOALIGN)] struct {
 
315
                uint32                  Flags;
 
316
                GUID                    ProviderUID;
 
317
                EntryIdFolderType       MessageType;
 
318
                GUID                    FolderDatabaseGuid;
 
319
                [switch_is(1)] GLOBCNT  FolderGlobalCounter;
 
320
                uint16                  Pad1;
 
321
                GUID                    MessageDatabaseGuid;
 
322
                [switch_is(1)] GLOBCNT  MessageGlobalCounter;
 
323
                uint16                  Pad2;
 
324
        } MessageEntryId;
 
325
 
 
326
        /* AddressBookEntryId */
 
327
        typedef [public,flag(NDR_NOALIGN)] struct {
 
328
                uint32                  Flags;
 
329
                GUID                    ProviderUID;
 
330
                uint32                  Version;
 
331
                uint32                  Type;
 
332
                astring                 X500DN;
 
333
        } AddressBookEntryId;
243
334
}