ccnls.c File Reference

Attempts to list name components available at the next level of the hierarchy. More...

Go to the source code of this file.

Defines

#define MUST_VERIFY   0x01

Functions

static int namecompare (const void *a, const void *b)
enum ccn_upcall_res incoming_content (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info)
void usage (const char *prog)
int main (int argc, char **argv)

Detailed Description

Attempts to list name components available at the next level of the hierarchy.

A CCNx command-line utility.

Copyright (C) 2008, 2009 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 ccnls.c.


Define Documentation

#define MUST_VERIFY   0x01

Definition at line 37 of file ccnls.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 51 of file ccnls.c.

int main ( int  argc,
char **  argv 
)

Definition at line 178 of file ccnls.c.

static int namecompare ( const void *  a,
const void *  b 
) [static]

Definition at line 40 of file ccnls.c.

Referenced by incoming_content().

void usage ( const char *  prog  ) 

Definition at line 168 of file ccnls.c.

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