added get_identifier() and set_identifier() methods
This commit is contained in:
@@ -120,6 +120,21 @@ struct eap_method_t {
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user