Monotone-Parent: efc513aec8f8216ade9f9e1724fbe47cad52f200

Monotone-Revision: 1e6a6ef91a600782e846f11a352429b61e59c2a9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-13T21:40:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-10-13 21:40:50 +00:00
parent 2c2d84c65e
commit bc120fc377
8 changed files with 264 additions and 70 deletions

View File

@@ -55,22 +55,26 @@ extern uint64_t *MAPILongLongValue (void *, uint64_t);
struct mapistore_context *memCtx;
void *ldbCtx;
BOOL baseContextSet;
NSString *uri;
NSMutableDictionary *objectCache;
MAPIStoreAuthenticator *authenticator;
WOContext *woContext;
NSMutableDictionary *messageCache;
NSMutableDictionary *subfolderCache;
SOGoFolder *moduleFolder;
NSString *lastObjectURL;
id lastObject;
}
+ (id) contextFromURI: (const char *) newUri;
+ (id) contextFromURI: (const char *) newUri
inMemCtx: (struct mapistore_context *) newMemCtx;
- (void) setURI: (NSString *) newUri
andMemCtx: (struct mapistore_context *) newMemCtx;
- (void) setupModuleFolder;
- (void) setMemCtx: (struct mapistore_context *) newMemCtx;
- (void) setAuthenticator: (MAPIStoreAuthenticator *) newAuthenticator;
- (MAPIStoreAuthenticator *) authenticator;
@@ -80,6 +84,10 @@ extern uint64_t *MAPILongLongValue (void *, uint64_t);
- (id) lookupObject: (NSString *) objectURLString;
/* backend methods */
- (int) getPath: (char **) path
ofFMID: (uint64_t) fmid
withTableType: (uint8_t) tableType;
- (int) getFID: (uint64_t *) fid
byName: (const char *) foldername
inParentFID: (uint64_t) parent_fid;
@@ -142,6 +150,9 @@ extern uint64_t *MAPILongLongValue (void *, uint64_t);
inFolder: (SOGoFolder *) folder
withFID: (uint64_t) fid;
- (int) getFoldersList: (struct indexing_folders_list **) folders_list
withFMID: (uint64_t) fmid;
@end
#endif /* MAPISTORECONTEXT_H */