#include "SyncNode.h"
#include "SyncUtil.h"
#include <stdlib.h>
#include <string.h>
#include <strings.h>
Functions | |
int | SyncSetCompErr (struct SyncNodeComposite *nc, int val) |
int | SyncCheckCompErr (struct SyncNodeComposite *nc) |
struct ccn_buf_decoder * | SyncInitDecoderFromOffset (struct ccn_buf_decoder *d, struct SyncNodeComposite *nc, ssize_t start, ssize_t stop) |
struct ccn_buf_decoder * | SyncInitDecoderFromElem (struct ccn_buf_decoder *d, struct SyncNodeComposite *nc, struct SyncNodeElem *ep) |
Makes a decoder from an element. | |
void | SyncNodeIncRC (struct SyncNodeComposite *nc) |
struct SyncNodeComposite * | SyncNodeDecRC (struct SyncNodeComposite *nc) |
enum SyncCompareResult | SyncNodeCompareMinMax (struct SyncNodeComposite *nc, struct ccn_charbuf *name) |
enum SyncCompareResult | SyncNodeCompareLeaf (struct SyncNodeComposite *nc, struct SyncNodeElem *ep, struct ccn_charbuf *name) |
void | SyncResetComposite (struct SyncNodeComposite *nc) |
struct SyncNodeComposite * | SyncAllocComposite (struct SyncBaseStruct *base) |
void | SyncExtendComposite (struct SyncNodeComposite *nc, SyncElemKind kind, ssize_t start, ssize_t stop) |
void | SyncNodeMaintainMinMax (struct SyncNodeComposite *nc, const struct ccn_charbuf *name) |
void | SyncNodeAddName (struct SyncNodeComposite *nc, const struct ccn_charbuf *name) |
void | SyncNodeAddNode (struct SyncNodeComposite *nc, struct SyncNodeComposite *node) |
int | SyncNodeAppendLongHash (struct ccn_charbuf *cb, struct SyncNodeComposite *nc) |
void | SyncEndComposite (struct SyncNodeComposite *nc) |
void | SyncFreeComposite (struct SyncNodeComposite *nc) |
void | SyncWriteComposite (struct SyncNodeComposite *nc, FILE *f) |
int | SyncParseComposite (struct SyncNodeComposite *nc, struct ccn_buf_decoder *d) |
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.