aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/payloads/proposal_substructure.h
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-24 09:17:51 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-24 09:17:51 +0000
commit95c61cb956505cdb0a91c8c8cd134dda3aac744d (patch)
tree0aa9591a9f5d900fea41a48778956f07f2d5b0b3 /Source/charon/encoding/payloads/proposal_substructure.h
parent1f9c9180e4afb43d0bec63b5e63146e08f41652a (diff)
downloadstrongswan-95c61cb956505cdb0a91c8c8cd134dda3aac744d.tar.bz2
strongswan-95c61cb956505cdb0a91c8c8cd134dda3aac744d.tar.xz
changed enum and structs names to _t
Diffstat (limited to 'Source/charon/encoding/payloads/proposal_substructure.h')
-rw-r--r--Source/charon/encoding/payloads/proposal_substructure.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/encoding/payloads/proposal_substructure.h b/Source/charon/encoding/payloads/proposal_substructure.h
index 1da42d10d..134c4776e 100644
--- a/Source/charon/encoding/payloads/proposal_substructure.h
+++ b/Source/charon/encoding/payloads/proposal_substructure.h
@@ -37,27 +37,27 @@
#define PROPOSAL_SUBSTRUCTURE_HEADER_LENGTH 8
+typedef enum protocol_id_t protocol_id_t;
+
/**
* Protocol ID of a proposal
*/
-typedef enum protocol_id_e protocol_id_t;
-
-enum protocol_id_e {
+enum protocol_id_t {
UNDEFINED_PROTOCOL_ID = 201,
IKE = 1,
AH = 2,
ESP = 3,
};
+typedef struct proposal_substructure_t proposal_substructure_t;
+
/**
* Object representing an IKEv2- PROPOSAL SUBSTRUCTURE
*
* The PROPOSAL SUBSTRUCTURE format is described in RFC section 3.3.1.
*
*/
-typedef struct proposal_substructure_s proposal_substructure_t;
-
-struct proposal_substructure_s {
+struct proposal_substructure_t {
/**
* implements payload_t interface
*/