mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 13:43:22 +00:00
Monotone-Parent: 0d1809a8a5fbb980e78d197e8f5c0c634b960a2e
Monotone-Revision: cd4c34d79c62c8b6a1f9ccfb14ea9a79442034c6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-16T20:51:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import "NSString+MAPIStore.h"
|
||||
|
||||
#import "NSData+MAPIStore.h"
|
||||
|
||||
#undef DEBUG
|
||||
@@ -168,6 +170,21 @@ static void _fillFlatUIDWithGUID (struct FlatUID_r *flatUID, const struct GUID *
|
||||
return xid;
|
||||
}
|
||||
|
||||
+ (id) dataWithChangeKeyGUID: (NSString *) guidString
|
||||
andCnt: (NSData *) globCnt;
|
||||
{
|
||||
NSMutableData *changeKey;
|
||||
struct GUID guid;
|
||||
|
||||
changeKey = [NSMutableData dataWithCapacity: 16 + [globCnt length]];
|
||||
|
||||
[guidString extractGUID: &guid];
|
||||
[changeKey appendData: [NSData dataWithGUID: &guid]];
|
||||
[changeKey appendData: globCnt];
|
||||
|
||||
return changeKey;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSMutableData (MAPIStoreDataTypes)
|
||||
|
||||
Reference in New Issue
Block a user