added get_identifier() and set_identifier() methods

This commit is contained in:
Andreas Steffen
2011-04-05 13:32:10 +02:00
parent ce9352b3d7
commit 2f7c12a2f4
@@ -120,6 +120,21 @@ struct eap_method_t {
*/ */
status_t (*get_msk) (eap_method_t *this, chunk_t *msk); status_t (*get_msk) (eap_method_t *this, chunk_t *msk);
/**
* Get the current EAP identifier.
*
* @return current EAP identifier
*/
u_int8_t (*get_identifier) (eap_method_t *this);
/**
* Set the EAP identifier to a deterministic value, overwriting
* the randomly initialized default value.
*
* @param identifier current EAP identifier
*/
void (*set_identifier) (eap_method_t *this, u_int8_t identifier);
/** /**
* Destroys a eap_method_t object. * Destroys a eap_method_t object.
*/ */