SyncBase.c File Reference

Part of CCNx Sync. More...

Go to the source code of this file.

Functions

void SyncSetErrInner (struct SyncBaseStruct *base, enum SyncErrCode code, char *file, int line)
void SyncClearErr (struct SyncBaseStruct *base)
struct SyncBaseStructSyncNewBase (struct ccnr_handle *ccnr, struct ccn *ccn, struct ccn_schedule *sched)
static int getEnvLimited (char *key, int lo, int hi, int def)
void SyncInit (struct SyncBaseStruct *bp)
void SyncFreeBase (struct SyncBaseStruct **bp)
int SyncNotifyContent (struct SyncBaseStruct *base, int enumeration, ccnr_accession item, struct ccn_charbuf *name)
void SyncShutdown (struct SyncBaseStruct *bp)


Detailed Description

Part of CCNx Sync.

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

This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This work 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file SyncBase.c.


Function Documentation

static int getEnvLimited ( char *  key,
int  lo,
int  hi,
int  def 
) [static]

Definition at line 91 of file SyncBase.c.

Referenced by SyncInit().

void SyncClearErr ( struct SyncBaseStruct base  ) 

Definition at line 52 of file SyncBase.c.

Referenced by SyncFreeBase().

void SyncFreeBase ( struct SyncBaseStruct **  bp  ) 

Definition at line 215 of file SyncBase.c.

Referenced by main(), and r_init_destroy().

void SyncInit ( struct SyncBaseStruct bp  ) 

Definition at line 101 of file SyncBase.c.

Referenced by r_init_create().

struct SyncBaseStruct* SyncNewBase ( struct ccnr_handle ccnr,
struct ccn *  ccn,
struct ccn_schedule *  sched 
) [read]

Definition at line 66 of file SyncBase.c.

Referenced by main(), and r_init_create().

int SyncNotifyContent ( struct SyncBaseStruct base,
int  enumeration,
ccnr_accession  item,
struct ccn_charbuf name 
)

Definition at line 243 of file SyncBase.c.

Referenced by r_sync_notify_content().

void SyncSetErrInner ( struct SyncBaseStruct base,
enum SyncErrCode  code,
char *  file,
int  line 
)

Definition at line 34 of file SyncBase.c.

void SyncShutdown ( struct SyncBaseStruct bp  ) 

Definition at line 338 of file SyncBase.c.


Generated on Thu Feb 16 00:44:28 2012 for Content-Centric Networking in C by  doxygen 1.5.6