4 * @brief Type definitions for parser and generator,
5 * also payload types are defined here.
10 * Copyright (C) 2005 Jan Hutter, Martin Willi
11 * Hochschule fuer Technik Rapperswil
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2 of the License, or (at your
16 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25 #include "encodings.h"
28 mapping_t encoding_type_t_mappings
[] = {
31 {U_INT_16
, "U_INT_16"},
32 {U_INT_32
, "U_INT_32"},
33 {U_INT_64
, "U_INT_64"},
34 {RESERVED_BIT
, "RESERVED_BIT"},
35 {RESERVED_BYTE
, "RESERVED_BYTE"},
37 {PAYLOAD_LENGTH
, "PAYLOAD_LENGTH"},
38 {HEADER_LENGTH
, "HEADER_LENGTH"},
39 {SPI_SIZE
, "SPI_SIZE"},
41 {KEY_EXCHANGE_DATA
, "KEY_EXCHANGE_DATA"},
42 {NOTIFICATION_DATA
, "NOTIFICATION_DATA"},
43 {PROPOSALS
, "PROPOSALS"},
44 {TRANSFORMS
, "TRANSFORMS"},
45 {TRANSFORM_ATTRIBUTES
, "TRANSFORM_ATTRIBUTES"},
46 {ATTRIBUTE_FORMAT
, "ATTRIBUTE_FORMAT"},
47 {ATTRIBUTE_TYPE
, "ATTRIBUTE_TYPE"},
48 {ATTRIBUTE_LENGTH_OR_VALUE
, "ATTRIBUTE_LENGTH_OR_VALUE"},
49 {ATTRIBUTE_VALUE
, "ATTRIBUTE_VALUE"},
50 {NONCE_DATA
, "NONCE_DATA"},