changed enum and structs names to _t

This commit is contained in:
Jan Hutter
2005-11-24 09:17:51 +00:00
parent 1f9c9180e4
commit 95c61cb956
45 changed files with 199 additions and 178 deletions
@@ -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
*/