ccncat.c File Reference

Reads streams at the given CCNx URIs and writes to stdout. More...

Go to the source code of this file.

Functions

static void usage (const char *progname)
 Provide usage hints for the program and then exit with a non-zero status.
struct ccn_charbufmake_template (int allow_stale, int scope)
int main (int argc, char **argv)
 Process options and then loop through command line CCNx URIs retrieving the data and writing it to stdout.


Detailed Description

Reads streams at the given CCNx URIs and writes to stdout.

A CCNx command-line utility.

Copyright (C) 2009-2012 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 ccncat.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Process options and then loop through command line CCNx URIs retrieving the data and writing it to stdout.

Definition at line 86 of file ccncat.c.

struct ccn_charbuf* make_template ( int  allow_stale,
int  scope 
) [read]

Definition at line 58 of file ccncat.c.

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

Provide usage hints for the program and then exit with a non-zero status.

Definition at line 34 of file ccncat.c.


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