Use a generic encoding type for all variable length chunks

This commit is contained in:
Martin Willi
2012-03-20 17:30:42 +01:00
parent ee50a29385
commit 95a26523af
18 changed files with 23 additions and 199 deletions
@@ -70,7 +70,7 @@ static encoding_rule_t encodings[] = {
/* Length of attribute value */
{ CONFIGURATION_ATTRIBUTE_LENGTH, offsetof(private_configuration_attribute_t, length) },
/* Value of attribute if attribute format flag is zero */
{ CONFIGURATION_ATTRIBUTE_VALUE, offsetof(private_configuration_attribute_t, value) }
{ CHUNK_DATA, offsetof(private_configuration_attribute_t, value) }
};
/*