Go to the source code of this file.
Defines | |
#define | ARRAY_N(arr) (sizeof(arr)/sizeof(arr[0])) |
Variables | |
static struct ccn_dict_entry | ccn_tagdict [] |
See the gen_dtag_table script for help updating these. | |
struct ccn_dict | ccn_dtag_dict = {ARRAY_N(ccn_tagdict) - 1, ccn_tagdict} |
Table for translating from DTAGs to names and vice versa. |
Part of the CCNx C Library.
Copyright (C) 2008-2011 Palo Alto Research Center, Inc.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Definition in file ccn_dtag_table.c.
#define ARRAY_N | ( | arr | ) | (sizeof(arr)/sizeof(arr[0])) |
Definition at line 22 of file ccn_dtag_table.c.
struct ccn_dict ccn_dtag_dict = {ARRAY_N(ccn_tagdict) - 1, ccn_tagdict} |
Table for translating from DTAGs to names and vice versa.
Definition at line 136 of file ccn_dtag_table.c.
Referenced by dtag_lookup(), and main().
struct ccn_dict_entry ccn_tagdict[] [static] |
See the gen_dtag_table script for help updating these.
Definition at line 26 of file ccn_dtag_table.c.