ccnrm.c File Reference

Mark as stale any local items a matching given prefixes. More...

Go to the source code of this file.

Functions

static void usage (const char *progname)
struct ccn_charbuflocal_scope_rm_template (void)
enum ccn_upcall_res incoming_content (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info)
int main (int argc, char **argv)

Variables

static struct mydata mydata
static struct ccn_closure incoming_content_action

Detailed Description

Mark as stale any local items a matching given prefixes.

A CCNx command-line utility.

Copyright (C) 2008-2010 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 ccnrm.c.


Function Documentation

enum ccn_upcall_res incoming_content ( struct ccn_closure selfp,
enum ccn_upcall_kind  kind,
struct ccn_upcall_info info 
)

Definition at line 66 of file ccnrm.c.

struct ccn_charbuf* local_scope_rm_template ( void   )  [read]

Definition at line 46 of file ccnrm.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 94 of file ccnrm.c.

static void usage ( const char *  progname  )  [static]

Definition at line 28 of file ccnrm.c.


Variable Documentation

Initial value:
 {
    .p = &incoming_content,
    .data = &mydata
}

Definition at line 88 of file ccnrm.c.

struct mydata mydata [static]
Generated on Fri May 13 16:27:10 2011 for Content-Centric Networking in C by  doxygen 1.6.3