/tilde/dkords/dev/repos/ccn-gatekeeper.git/ccnx-0.6.1/csrc/sync/SyncHashCache.c File Reference
Part of CCNx Sync.
More...
#include "SyncBase.h"
#include "SyncHashCache.h"
#include "SyncNode.h"
#include "SyncRoot.h"
#include "SyncUtil.h"
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <ccn/ccn.h>
#include <ccnr/ccnr_msg.h>
Functions |
static struct SyncHashCacheEntry * | localFreeEntry (struct SyncHashCacheEntry *ce) |
struct SyncHashCacheEntry * | SyncHashLookup (struct SyncHashCacheHead *head, const unsigned char *xp, ssize_t xs) |
struct SyncHashCacheEntry * | SyncHashEnter (struct SyncHashCacheHead *head, const unsigned char *xp, ssize_t xs, enum SyncHashState set) |
void | SyncHashRemoveEntry (struct SyncHashCacheHead *head, struct SyncHashCacheEntry *ce) |
void | SyncHashClearMarks (struct SyncHashCacheHead *head) |
struct SyncHashCacheHead * | SyncHashCacheCreate (struct SyncRootStruct *root, uint32_t mod) |
struct SyncHashCacheHead * | SyncHashCacheFree (struct SyncHashCacheHead *head) |
int | SyncCacheEntryStore (struct SyncHashCacheEntry *ce) |
int | SyncCacheEntryFetch (struct SyncHashCacheEntry *ce) |
Detailed Description
Part of CCNx Sync.