ccnbx.c File Reference

Utility to extract a field from ccn binary encoded data. More...

Go to the source code of this file.

Defines

#define CCNBX_OPT_UNADORNED   1
#define CCNBX_OPT_VERBOSE   2

Functions

static void usage (const char *progname)
static int dtag_lookup (const char *key)
static int ccnbx (const char *path, const char *selector, int options)
int main (int argc, char **argv)

Detailed Description

Utility to extract a field from ccn binary encoded data.

A CCNx command-line utility.

Copyright (C) 2009-2011 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 ccnbx.c.


Define Documentation

#define CCNBX_OPT_UNADORNED   1

Definition at line 34 of file ccnbx.c.

Referenced by ccnbx(), and main().

#define CCNBX_OPT_VERBOSE   2

Definition at line 35 of file ccnbx.c.

Referenced by ccnbx(), and main().


Function Documentation

static int ccnbx ( const char *  path,
const char *  selector,
int  options 
) [static]

Bug:
This would be confused by attributes

Definition at line 67 of file ccnbx.c.

Referenced by main().

static int dtag_lookup ( const char *  key  )  [static]

Definition at line 55 of file ccnbx.c.

Referenced by ccnbx().

int main ( int  argc,
char **  argv 
)

Definition at line 156 of file ccnbx.c.

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

Definition at line 38 of file ccnbx.c.

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