Moved to abstract index_context instead of tdb_wrap

This commit is contained in:
Carlos Pérez-Aradros Herce
2013-11-08 17:02:50 +01:00
committed by Julio García
parent 660f39a980
commit 33b353b974
11 changed files with 38 additions and 42 deletions
+3 -3
View File
@@ -32,17 +32,17 @@
{
void *memCtx;
NSString *username;
struct tdb_wrap *indexing;
struct indexing_context *indexing;
NSMutableDictionary *mapping; /* FID/MID -> url */
NSMutableDictionary *reverseMapping; /* url -> FID/MID */
NSUInteger useCount;
}
+ (id) mappingForUsername: (NSString *) username
withIndexing: (struct tdb_wrap *) indexing;
withIndexing: (struct indexing_context *) indexing;
- (id) initForUsername: (NSString *) username
withIndexing: (struct tdb_wrap *) indexing;
withIndexing: (struct indexing_context *) indexing;
- (void) increaseUseCount;