Go to the source code of this file.
Functions | |
void | printraw (const void *r, int n) |
enum ccn_upcall_res | incoming_content (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info) |
enum ccn_upcall_res | outgoing_content (struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info) |
int | main (int argc, char **argv) |
Variables | |
static struct ccn_closure | incoming_content_action |
static unsigned char | rawbuf [1024 *1024] |
static ssize_t | rawlen |
static struct ccn_closure | interest_filter |
A CCNx program.
Copyright (C) 2009, 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 smoketestclientlib.c.
static enum ccn_upcall_res incoming_content | ( | struct ccn_closure * | selfp, | |
enum ccn_upcall_kind | kind, | |||
struct ccn_upcall_info * | info | |||
) |
Definition at line 47 of file smoketestclientlib.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 102 of file smoketestclientlib.c.
enum ccn_upcall_res outgoing_content | ( | struct ccn_closure * | selfp, | |
enum ccn_upcall_kind | kind, | |||
struct ccn_upcall_info * | info | |||
) |
Definition at line 71 of file smoketestclientlib.c.
void printraw | ( | const void * | r, | |
int | n | |||
) |
Definition at line 29 of file smoketestclientlib.c.
Referenced by incoming_content(), main(), and outgoing_content().
struct ccn_closure incoming_content_action [static] |
struct ccn_closure interest_filter [static] |
Initial value:
{ .p = &outgoing_content }
Definition at line 97 of file smoketestclientlib.c.
Referenced by ccn_destroy(), ccn_dispatch_message(), ccn_notify_ccndid_changed(), ccn_process_scheduled_operations(), ccn_set_interest_filter_with_flags(), and finalize_interest_filter().
unsigned char rawbuf[1024 *1024] [static] |
Definition at line 67 of file smoketestclientlib.c.
ssize_t rawlen [static] |
Definition at line 68 of file smoketestclientlib.c.
Referenced by main(), outgoing_content(), and send_ccnb_file().