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/proposal_substructure.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (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 736987fc8..d7b9c7bd4 100644 --- a/Source/charon/encoding/payloads/proposal_substructure.h +++ b/Source/charon/encoding/payloads/proposal_substructure.h @@ -28,16 +28,9 @@ #include #include -/** - * IKEv1 Value for a proposal payload. - * - * @ingroup payloads - */ -#define PROPOSAL_TYPE_VALUE 2 /** - * Length of the proposal substructure header - * (without spi). + * Length of the proposal substructure header (without spi). * * @ingroup payloads */ @@ -60,6 +53,8 @@ enum protocol_id_t { /** * String mappings for protocol_id_t. + * + * @ingroup payloads */ extern mapping_t protocol_id_m[]; @@ -70,6 +65,9 @@ typedef struct proposal_substructure_t proposal_substructure_t; * * The PROPOSAL SUBSTRUCTURE format is described in RFC section 3.3.1. * + * @b Constructors: + * - proposal_substructure_create() + * * @ingroup payloads */ struct proposal_substructure_t { @@ -214,12 +212,11 @@ struct proposal_substructure_t { /** * @brief Creates an empty proposal_substructure_t object * - * @return created proposal_substructure_t object + * @return proposal_substructure_t object * * @ingroup payloads */ proposal_substructure_t *proposal_substructure_create(); - #endif /*PROPOSAL_SUBSTRUCTURE_H_*/ -- cgit v1.2.3