From b9d9f18874d2cf4de3c9cffeaac716df71a31e99 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Mon, 28 Nov 2005 15:20:51 +0000 Subject: - added compution of all needed keys and also creation of needed transform objects --- Source/charon/encoding/payloads/proposal_substructure.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Source/charon/encoding/payloads/proposal_substructure.h') diff --git a/Source/charon/encoding/payloads/proposal_substructure.h b/Source/charon/encoding/payloads/proposal_substructure.h index d6f90e403..ae54ef1d1 100644 --- a/Source/charon/encoding/payloads/proposal_substructure.h +++ b/Source/charon/encoding/payloads/proposal_substructure.h @@ -125,6 +125,21 @@ struct proposal_substructure_t { * @return protocol id of current proposal substructure. */ u_int8_t (*get_protocol_id) (proposal_substructure_t *this); + + /** + * @brief Get informations for a specific transform type. + * + * @param this calling proposal_substructure_t object + * @param type type to get informations for + * @param transform_id transform id of the specific type + * @param key_length key length of the specific key length transform attribute + * @return + * - SUCCESS if transform type is part of this proposal and + * all data (incl. key length) could be fetched + * - FAILED if transform type is not part of this proposal + * - OUT_OF_RES + */ + status_t (*get_info_for_transform_type) (proposal_substructure_t *this,transform_type_t type, u_int16_t *transform_id, u_int16_t *key_length); /** -- cgit v1.2.3