ccnsendchunks.c File Reference

Injects chunks of data from stdin into ccn. More...

Go to the source code of this file.

Functions

enum ccn_upcall_res incoming_content (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info)
enum ccn_upcall_res incoming_interest (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info)
ssize_t read_full (int fd, unsigned char *buf, size_t size)
static void usage (const char *progname)
int main (int argc, char **argv)


Detailed Description

Injects chunks of data from stdin into ccn.

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 ccnsendchunks.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 37 of file ccnsendchunks.c.

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

Definition at line 56 of file ccnsendchunks.c.

int main ( int  argc,
char **  argv 
)

Definition at line 106 of file ccnsendchunks.c.

ssize_t read_full ( int  fd,
unsigned char *  buf,
size_t  size 
)

Definition at line 76 of file ccnsendchunks.c.

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

Definition at line 95 of file ccnsendchunks.c.


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