Monotone-Parent: cad387db7a6d5560c7f138596819e1394d90c7b3
Monotone-Revision: 3d823daf85269363807bfb3cfb07776ba5279782 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-03T18:27:38 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
7e574e277d
commit
a8f51464b2
|
@ -1,3 +1,9 @@
|
|||
2010-12-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSData+MAPIStore.m: (+dataWithShortBinary:): new
|
||||
constructor for returning an NSData instance from a struct
|
||||
SBinary_short.
|
||||
|
||||
2010-12-02 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* Main/SOGo+DAV.m - we avoid assuming a range is found
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
@interface NSData (MAPIStoreDataTypes)
|
||||
|
||||
+ (id) dataWithBinary: (const struct Binary_r *) binData;
|
||||
+ (id) dataWithShortBinary: (const struct SBinary_short *) binData;
|
||||
|
||||
- (struct Binary_r *) asBinaryInMemCtx: (void *) memCtx;
|
||||
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
return [NSData dataWithBytes: binData->lpb length: binData->cb];
|
||||
}
|
||||
|
||||
+ (id) dataWithShortBinary: (const struct SBinary_short *) binData
|
||||
{
|
||||
return [NSData dataWithBytes: binData->lpb length: binData->cb];
|
||||
}
|
||||
|
||||
- (struct Binary_r *) asBinaryInMemCtx: (void *) memCtx
|
||||
{
|
||||
struct Binary_r *binary;
|
||||
|
|
Loading…
Reference in New Issue