CCNx-Android-Services/jni/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.

Copyright (C) 2011 Palo Alto Research Center, Inc.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


Generated on Thu Feb 16 00:45:13 2012 for CCNx for Android by  doxygen 1.5.6