See ChangeLog

Monotone-Parent: 99ca451495fc28364e0d775f0a4b950f0df4164d
Monotone-Revision: 740d7bf9e85e6faf504cb29387d81a224a6a92e9

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-08-03T15:46:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-08-03 15:46:02 +00:00
parent 49d7927566
commit f1df83e44c
12 changed files with 195 additions and 469 deletions
+9 -7
View File
@@ -26,6 +26,8 @@
#import <Foundation/NSObject.h>
#include <libmemcached/memcached.h>
@class NSMutableDictionary;
@class NSString;
@class NSTimer;
@@ -39,6 +41,8 @@
{
@private
NSTimer *_cleanupTimer;
memcached_server_st *servers;
memcached_st *handle;
}
+ (NSTimeInterval) cleanupInterval;
@@ -54,15 +58,13 @@
- (void) registerUser: (SOGoUser *) user;
- (id) userNamed: (NSString *) name;
- (void) cacheAttributes: (NSDictionary *) theAttributes
forLogin: (NSString *) theLogin;
- (NSMutableDictionary *) userAttributesForLogin: (NSString *) theLogin;
- (SOGoUserDefaults *) userDefaultsForLogin: (NSString *) theLogin;
- (SOGoUserDefaults *) userSettingsForLogin: (NSString *) theLogin;
- (NSDictionary *) userDefaultsForLogin: (NSString *) theLogin;
- (NSDictionary *) userSettingsForLogin: (NSString *) theLogin;
- (void) setDefaults: (SOGoUserDefaults *) theDefaults
forLogin: (NSString *) theLogin
key: (NSString *) theKey;
- (void) cacheValues: (NSDictionary *) theAttributes
ofType: (NSString *) theType
forLogin: (NSString *) theLogin;
@end