Part of CCNx Sync. More...
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <ccn/ccn.h>
#include <ccn/charbuf.h>
#include <ccn/coding.h>
#include <ccn/digest.h>
#include <ccn/indexbuf.h>
#include <ccn/schedule.h>
#include <ccn/uri.h>
#include <ccnr/ccnr_msg.h>
#include "SyncMacros.h"
#include "SyncPrivate.h"
#include "SyncActions.h"
#include "SyncHashCache.h"
#include "SyncUtil.h"
#include "SyncRoot.h"
Functions | |
static struct SyncNameAccum * | copyFilter (struct SyncNameAccum *filter) |
copies the filter, including copies of the names | |
static struct SyncNameAccum * | canonFilter (struct SyncBaseStruct *base, struct SyncNameAccum *filter) |
canonicalizes the filter returns an existing equivalent filter if one is found otherwise copies the input filter, links it in, and returns the copy | |
struct SyncRootStruct * | SyncAddRoot (struct SyncBaseStruct *base, int syncScope, const struct ccn_charbuf *topoPrefix, const struct ccn_charbuf *namingPrefix, struct SyncNameAccum *filter) |
struct SyncRootStruct * | SyncRemRoot (struct SyncRootStruct *root) |
struct SyncRootStruct * | SyncRootDecodeAndAdd (struct SyncBaseStruct *base, struct ccn_buf_decoder *d) |
static int | appendName (struct ccn_charbuf *cb, struct ccn_charbuf *name) |
int | SyncRootAppendSlice (struct ccn_charbuf *cb, struct SyncRootStruct *root) |
struct SyncHashCacheEntry * | SyncRootTopEntry (struct SyncRootStruct *root) |
enum SyncRootLookupCode | SyncRootLookupName (struct SyncRootStruct *root, const struct ccn_charbuf *name) |
Part of CCNx Sync.