and use a protocol-specific structure, which can't be shared
across multiple protocols
.can_copy = false, /* Same limitation as ext_children */
},
[FR_DICT_ATTR_EXT_PROTOCOL_SPECIFIC] = {
- .min = sizeof(fr_dict_ext_protocol_specific_t),
- .can_copy = true
+ .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_attr_t const *union_ref; //!< The union da this value points into.
} fr_dict_enum_ext_union_ref_t;
-/** Attribute extension - Protocol-specific
- *
- */
-typedef struct {
- void *uctx; //!< Protocol specific extensions
-} fr_dict_ext_protocol_specific_t;
-
/** @name Add extension structures to attributes
*
* @{