/*
* Dictionary constants
*/
-#define FR_DICT_PROTO_MAX_NAME_LEN (128) //!< Maximum length of a protocol name.
-#define FR_DICT_ENUM_MAX_NAME_LEN (128) //!< Maximum length of a enum value.
-#define FR_DICT_VENDOR_MAX_NAME_LEN (128) //!< Maximum length of a vendor name.
-#define FR_DICT_ATTR_MAX_NAME_LEN (128) //!< Maximum length of a attribute name.
+#define FR_DICT_PROTO_MAX_NAME_LEN (128) //!< Maximum length of a protocol name.
+#define FR_DICT_ENUM_MAX_NAME_LEN (128) //!< Maximum length of a enum value.
+#define FR_DICT_VENDOR_MAX_NAME_LEN (128) //!< Maximum length of a vendor name.
+#define FR_DICT_ATTR_MAX_NAME_LEN (128) //!< Maximum length of a attribute name.
/** Maximum level of TLV nesting allowed
*/
.min = sizeof(char),
.has_hdr = true,
.fixup = fr_dict_attr_ext_name_fixup,
- .can_copy = false, /* Name may change, and we can only set it once */
+ .can_copy = false, /* Name may change, and we can only set it once */
},
[FR_DICT_ATTR_EXT_CHILDREN] = {
.min = sizeof(fr_dict_attr_ext_children_t),
- .can_copy = false, /* Limitation in hashing scheme we use */
+ .can_copy = false, /* Limitation in hashing scheme we use */
},
[FR_DICT_ATTR_EXT_REF] = {
.min = sizeof(fr_dict_attr_ext_ref_t),
[FR_DICT_ATTR_EXT_DA_STACK] = {
.min = sizeof(fr_dict_attr_ext_da_stack_t),
.has_hdr = true,
- .can_copy = false /* Reinitialised for each new attribute */
+ .can_copy = false /* Reinitialised for each new attribute */
},
[FR_DICT_ATTR_EXT_ENUMV] = {
.min = sizeof(fr_dict_attr_ext_enumv_t),
},
[FR_DICT_ATTR_EXT_NAMESPACE] = {
.min = sizeof(fr_dict_attr_ext_namespace_t),
- .can_copy = false, /* Same limitation as ext_children */
+ .can_copy = false, /* Same limitation as ext_children */
},
[FR_DICT_ATTR_EXT_PROTOCOL_SPECIFIC] = {
- .min = FR_EXT_ALIGNMENT, /* allow for one byte of protocol stuff */
- .has_hdr = true, /* variable sized */
- .can_copy = false /* only the protocol can copy it */
+ .min = FR_EXT_ALIGNMENT, /* allow for one byte of protocol stuff */
+ .has_hdr = true, /* variable sized */
+ .can_copy = false /* only the protocol can copy it */
},
[FR_DICT_ATTR_EXT_MAX] = {}
}
[FR_DICT_ENUM_EXT_MAX] = {}
}
};
-