Monotone-Parent: fd90ae60f7879a303cc5d6b24e64a0a382068323

Monotone-Revision: edd6ac7b0fdcca99066a8097eefc5e8b36ff52fa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-14T21:35:54
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-07-14 21:35:54 +00:00
parent 592832ed13
commit ab43fce1af
7 changed files with 663 additions and 1047 deletions
+31
View File
@@ -62,6 +62,11 @@
- (id) initWithURL: (NSURL *) newURL
inContext: (MAPIStoreContext *) newContext;
- (id) lookupFolder: (NSString *) folderKey;
- (id) lookupFolderByURL: (NSString *) folderURL;
- (id) lookupMessage: (NSString *) messageKey;
- (id) lookupMessageByURL: (NSString *) messageURL;
- (NSArray *) activeMessageTables;
- (NSArray *) activeFAIMessageTables;
@@ -78,6 +83,32 @@
- (NSString *) createFolder: (struct SRow *) aRow
withFID: (uint64_t) newFID;
/* backend interface */
- (int) openFolder: (MAPIStoreFolder **) childFolderPtr
withFID: (uint64_t) fid;
- (int) createFolder: (MAPIStoreFolder **) childFolderPtr
withRow: (struct SRow *) aRow
andFID: (uint64_t) fid;
- (int) deleteFolderWithFID: (uint64_t) fid;
- (int) getChildCount: (uint32_t *) rowCount
ofTableType: (uint8_t) tableType;
- (int) createMessage: (MAPIStoreMessage **) messagePtr
withMID: (uint64_t) mid
isAssociated: (BOOL) isAssociated;
- (int) openMessage: (MAPIStoreMessage **) messagePtr
andMessageData: (struct mapistore_message **) dataPtr
withMID: (uint64_t) mid
inMemCtx: (TALLOC_CTX *) memCtx;
- (int) deleteMessageWithMID: (uint64_t) mid
andFlags: (uint8_t) flags;
- (int) getTable: (MAPIStoreTable **) tablePtr
andRowCount: (uint32_t *) count
tableType: (uint8_t) tableType
andHandleId: (uint32_t) handleId;
/* helpers */
- (uint64_t) idForObjectWithKey: (NSString *) childKey;