From b737e9d9e8e44b360509cfab36d22170f54af334 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Thu, 1 Dec 2005 08:48:57 +0000 Subject: implemented and tested functionality to create sa_payload from ike_proposal_t's and also generate ike_proposal_t's from sa_payload --- Source/charon/encoding/payloads/transform_attribute.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Source/charon/encoding/payloads/transform_attribute.h') diff --git a/Source/charon/encoding/payloads/transform_attribute.h b/Source/charon/encoding/payloads/transform_attribute.h index 8a0deb765..5820932e2 100644 --- a/Source/charon/encoding/payloads/transform_attribute.h +++ b/Source/charon/encoding/payloads/transform_attribute.h @@ -132,11 +132,23 @@ struct transform_attribute_t { }; /** - * @brief Creates an empty transform_attribute_t object + * @brief Creates an empty transform_attribute_t object. * * @return created transform_attribute_t object + * * @ingroup payloads */ transform_attribute_t *transform_attribute_create(); +/** + * @brief Creates an transform_attribute_t of type KEY_LENGTH. + * + * @param key_length key length in bytes + * @return created transform_attribute_t object + * + * @ingroup payloads + */ +transform_attribute_t *transform_attribute_create_key_length(u_int16_t key_length); + + #endif /*TRANSFORM_ATTRIBUTE_H_*/ -- cgit v1.2.3