Bring up a link to another ccnd. More...
Go to the source code of this file.
Defines | |
#define | CHKRES(resval) chkres((resval), __LINE__) |
Functions | |
static void | usage (const char *progname) |
static void | chkres (int res, int lineno) |
int | main (int argc, char **argv) |
Bring up a link to another ccnd.
This is a very basic version that just registers a single prefix, possibly creating a new face in the process. Symbolic proto, host, and port are not handled. You might want to consider looking at ccndc instead.
A CCNx command-line utility.
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 ccnbasicconfig.c.
#define CHKRES | ( | resval | ) | chkres((resval), __LINE__) |
Definition at line 49 of file ccnbasicconfig.c.
Referenced by main().
static void chkres | ( | int | res, | |
int | lineno | |||
) | [static] |
Definition at line 52 of file ccnbasicconfig.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 63 of file ccnbasicconfig.c.
static void usage | ( | const char * | progname | ) | [static] |
Definition at line 40 of file ccnbasicconfig.c.