- changed allocation behavior

This commit is contained in:
Martin Willi
2005-11-29 08:08:03 +00:00
parent ed37dee61d
commit df3c59d088
47 changed files with 292 additions and 291 deletions
@@ -1,7 +1,7 @@
/**
* @file ike_sa_init_requested.h
*
* @brief State of a IKE_SA after requesting an IKE_SA_INIT
* @brief Interface of ike_sa_init_requestet_t.
*
*/
@@ -33,22 +33,25 @@ typedef struct ike_sa_init_requested_t ike_sa_init_requested_t;
/**
* @brief This class represents an IKE_SA state when requested an IKE_SA_INIT.
*
*
* @ingroup states
*/
struct ike_sa_init_requested_t {
/**
* methods of the state_t interface
*/
state_t state_interface;
};
/**
* Constructor of class ike_sa_init_responded_t
*
* @param ike_sa assigned ike_sa
* @param ike_sa assigned ike_sa
* @param diffie_hellman diffie_hellman object use to retrieve shared secret
* @param sent_nonce Sent nonce value
* @return created ike_sa_init_request_t object
*
* @ingroup states
*/
ike_sa_init_requested_t *ike_sa_init_requested_create(protected_ike_sa_t *ike_sa, u_int16_t dh_group_priority, diffie_hellman_t *diffie_hellman, chunk_t sent_nonce);