From c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 6 Dec 2005 13:44:22 +0000 Subject: - code cleanup of encoding package --- Source/charon/encoding/payloads/ike_header.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Source/charon/encoding/payloads/ike_header.h') diff --git a/Source/charon/encoding/payloads/ike_header.h b/Source/charon/encoding/payloads/ike_header.h index c7f388092..ec55f0e18 100644 --- a/Source/charon/encoding/payloads/ike_header.h +++ b/Source/charon/encoding/payloads/ike_header.h @@ -66,7 +66,7 @@ typedef enum exchange_type_t exchange_type_t; enum exchange_type_t{ /** - * EXCHANGE_TYPE_UNDEFINED, not a official message type :-). + * EXCHANGE_TYPE_UNDEFINED. In private space, since not a official message type. */ EXCHANGE_TYPE_UNDEFINED = 240, @@ -91,19 +91,27 @@ enum exchange_type_t{ INFORMATIONAL = 37 }; +/** + * string mappings for exchange_type_t + * + * @ingroup payloads + */ extern mapping_t exchange_type_m[]; + typedef struct ike_header_t ike_header_t; /** - * An object of this type represents an IKEv2 header and is used to + * @brief An object of this type represents an IKEv2 header and is used to * generate and parse IKEv2 headers. * - * * The header format of an IKEv2-Message is compatible to the * ISAKMP-Header format to allow implementations supporting * both versions of the IKE-protocol. * + * @b Constructors: + * - ike_header_create() + * * @ingroup payloads */ struct ike_header_t { @@ -236,7 +244,7 @@ struct ike_header_t { /** * @brief Destroys a ike_header_t object. * - * @param this ike_header_t object to destroy + * @param this ike_header_t object to destroy */ void (*destroy) (ike_header_t *this); }; @@ -244,7 +252,7 @@ struct ike_header_t { /** * @brief Create an ike_header_t object * - * @return created ike_header_t object + * @return ike_header_t object * * @ingroup payloads */ -- cgit v1.2.3