ccn_dtag_table.c

Go to the documentation of this file.
00001 /**
00002  * @file ccn_dtag_table.c
00003  * @brief DTAG table.
00004  * 
00005  * Part of the CCNx C Library.
00006  *
00007  * Copyright (C) 2008-2011 Palo Alto Research Center, Inc.
00008  *
00009  * This library is free software; you can redistribute it and/or modify it
00010  * under the terms of the GNU Lesser General Public License version 2.1
00011  * as published by the Free Software Foundation.
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details. You should have received
00016  * a copy of the GNU Lesser General Public License along with this library;
00017  * if not, write to the Free Software Foundation, Inc., 51 Franklin Street,
00018  * Fifth Floor, Boston, MA 02110-1301 USA.
00019  */
00020 #include <ccn/coding.h>
00021 
00022 #define ARRAY_N(arr) (sizeof(arr)/sizeof(arr[0]))
00023 /**
00024  * See the gen_dtag_table script for help updating these.
00025  */
00026 static const struct ccn_dict_entry ccn_tagdict[] = {
00027     {CCN_DTAG_Any, "Any"},
00028     {CCN_DTAG_Name, "Name"},
00029     {CCN_DTAG_Component, "Component"},
00030     {CCN_DTAG_Certificate, "Certificate"},
00031     {CCN_DTAG_Collection, "Collection"},
00032     {CCN_DTAG_CompleteName, "CompleteName"},
00033     {CCN_DTAG_Content, "Content"},
00034     {CCN_DTAG_SignedInfo, "SignedInfo"},
00035     {CCN_DTAG_ContentDigest, "ContentDigest"},
00036     {CCN_DTAG_ContentHash, "ContentHash"},
00037     {CCN_DTAG_Count, "Count"},
00038     {CCN_DTAG_Header, "Header"},
00039     {CCN_DTAG_Interest, "Interest"},
00040     {CCN_DTAG_Key, "Key"},
00041     {CCN_DTAG_KeyLocator, "KeyLocator"},
00042     {CCN_DTAG_KeyName, "KeyName"},
00043     {CCN_DTAG_Length, "Length"},
00044     {CCN_DTAG_Link, "Link"},
00045     {CCN_DTAG_LinkAuthenticator, "LinkAuthenticator"},
00046     {CCN_DTAG_NameComponentCount, "NameComponentCount"},
00047     {CCN_DTAG_RootDigest, "RootDigest"},
00048     {CCN_DTAG_Signature, "Signature"},
00049     {CCN_DTAG_Start, "Start"},
00050     {CCN_DTAG_Timestamp, "Timestamp"},
00051     {CCN_DTAG_Type, "Type"},
00052     {CCN_DTAG_Nonce, "Nonce"},
00053     {CCN_DTAG_Scope, "Scope"},
00054     {CCN_DTAG_Exclude, "Exclude"},
00055     {CCN_DTAG_Bloom, "Bloom"},
00056     {CCN_DTAG_BloomSeed, "BloomSeed"},
00057     {CCN_DTAG_AnswerOriginKind, "AnswerOriginKind"},
00058     {CCN_DTAG_InterestLifetime, "InterestLifetime"},
00059     {CCN_DTAG_Witness, "Witness"},
00060     {CCN_DTAG_SignatureBits, "SignatureBits"},
00061     {CCN_DTAG_DigestAlgorithm, "DigestAlgorithm"},
00062     {CCN_DTAG_BlockSize, "BlockSize"},
00063     {CCN_DTAG_FreshnessSeconds, "FreshnessSeconds"},
00064     {CCN_DTAG_FinalBlockID, "FinalBlockID"},
00065     {CCN_DTAG_PublisherPublicKeyDigest, "PublisherPublicKeyDigest"},
00066     {CCN_DTAG_PublisherCertificateDigest, "PublisherCertificateDigest"},
00067     {CCN_DTAG_PublisherIssuerKeyDigest, "PublisherIssuerKeyDigest"},
00068     {CCN_DTAG_PublisherIssuerCertificateDigest, "PublisherIssuerCertificateDigest"},
00069     {CCN_DTAG_ContentObject, "ContentObject"},
00070     {CCN_DTAG_WrappedKey, "WrappedKey"},
00071     {CCN_DTAG_WrappingKeyIdentifier, "WrappingKeyIdentifier"},
00072     {CCN_DTAG_WrapAlgorithm, "WrapAlgorithm"},
00073     {CCN_DTAG_KeyAlgorithm, "KeyAlgorithm"},
00074     {CCN_DTAG_Label, "Label"},
00075     {CCN_DTAG_EncryptedKey, "EncryptedKey"},
00076     {CCN_DTAG_EncryptedNonceKey, "EncryptedNonceKey"},
00077     {CCN_DTAG_WrappingKeyName, "WrappingKeyName"},
00078     {CCN_DTAG_Action, "Action"},
00079     {CCN_DTAG_FaceID, "FaceID"},
00080     {CCN_DTAG_IPProto, "IPProto"},
00081     {CCN_DTAG_Host, "Host"},
00082     {CCN_DTAG_Port, "Port"},
00083     {CCN_DTAG_MulticastInterface, "MulticastInterface"},
00084     {CCN_DTAG_ForwardingFlags, "ForwardingFlags"},
00085     {CCN_DTAG_FaceInstance, "FaceInstance"},
00086     {CCN_DTAG_ForwardingEntry, "ForwardingEntry"},
00087     {CCN_DTAG_MulticastTTL, "MulticastTTL"},
00088     {CCN_DTAG_MinSuffixComponents, "MinSuffixComponents"},
00089     {CCN_DTAG_MaxSuffixComponents, "MaxSuffixComponents"},
00090     {CCN_DTAG_ChildSelector, "ChildSelector"},
00091     {CCN_DTAG_RepositoryInfo, "RepositoryInfo"},
00092     {CCN_DTAG_Version, "Version"},
00093     {CCN_DTAG_RepositoryVersion, "RepositoryVersion"},
00094     {CCN_DTAG_GlobalPrefix, "GlobalPrefix"},
00095     {CCN_DTAG_LocalName, "LocalName"},
00096     {CCN_DTAG_Policy, "Policy"},
00097     {CCN_DTAG_Namespace, "Namespace"},
00098     {CCN_DTAG_GlobalPrefixName, "GlobalPrefixName"},
00099     {CCN_DTAG_PolicyVersion, "PolicyVersion"},
00100     {CCN_DTAG_KeyValueSet, "KeyValueSet"},
00101     {CCN_DTAG_KeyValuePair, "KeyValuePair"},
00102     {CCN_DTAG_IntegerValue, "IntegerValue"},
00103     {CCN_DTAG_DecimalValue, "DecimalValue"},
00104     {CCN_DTAG_StringValue, "StringValue"},
00105     {CCN_DTAG_BinaryValue, "BinaryValue"},
00106     {CCN_DTAG_NameValue, "NameValue"},
00107     {CCN_DTAG_Entry, "Entry"},
00108     {CCN_DTAG_ACL, "ACL"},
00109     {CCN_DTAG_ParameterizedName, "ParameterizedName"},
00110     {CCN_DTAG_Prefix, "Prefix"},
00111     {CCN_DTAG_Suffix, "Suffix"},
00112     {CCN_DTAG_Root, "Root"},
00113     {CCN_DTAG_ProfileName, "ProfileName"},
00114     {CCN_DTAG_Parameters, "Parameters"},
00115     {CCN_DTAG_InfoString, "InfoString"},
00116     {CCN_DTAG_StatusResponse, "StatusResponse"},
00117     {CCN_DTAG_StatusCode, "StatusCode"},
00118     {CCN_DTAG_StatusText, "StatusText"},
00119     {CCN_DTAG_SequenceNumber, "SequenceNumber"},
00120     {CCN_DTAG_CCNProtocolDataUnit, "CCNProtocolDataUnit"},
00121     {0, 0}
00122 };
00123 
00124 const struct ccn_dict ccn_dtag_dict = {ARRAY_N(ccn_tagdict) - 1, ccn_tagdict};
Generated on Fri May 13 16:27:02 2011 for Content-Centric Networking in C by  doxygen 1.6.3