ccncatchunks.c File Reference

Reads stuff written by ccnsendchunks, writes to stdout. More...

Go to the source code of this file.

Defines

#define CHUNK_SIZE   1024

Functions

static void usage (const char *progname)
struct ccn_charbufmake_template (struct mydata *md, struct ccn_upcall_info *info)
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)

Detailed Description

Reads stuff written by ccnsendchunks, writes to stdout.

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 ccncatchunks.c.


Define Documentation

#define CHUNK_SIZE   1024

Definition at line 64 of file ccncatchunks.c.

Referenced by incoming_content().


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 67 of file ccncatchunks.c.

int main ( int  argc,
char **  argv 
)

Definition at line 147 of file ccncatchunks.c.

struct ccn_charbuf* make_template ( struct mydata md,
struct ccn_upcall_info info 
) [read]

Definition at line 45 of file ccncatchunks.c.

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

Definition at line 29 of file ccncatchunks.c.

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