eap-radius: export function to process common attributes of Access-Accept

This commit is contained in:
Martin Willi
2013-07-29 09:00:48 +02:00
parent 7612a6e42f
commit 94ec80e74c
2 changed files with 36 additions and 31 deletions
@@ -24,6 +24,7 @@
typedef struct eap_radius_t eap_radius_t;
#include <sa/eap/eap_method.h>
#include <radius_message.h>
/**
* Implementation of the eap_method_t interface using a RADIUS server.
@@ -45,4 +46,15 @@ struct eap_radius_t {
*/
eap_radius_t *eap_radius_create(identification_t *server, identification_t *peer);
/**
* Process additional attributes from an Access-Accept.
*
* Parses and applies additional authorization attributes from an Accept
* message, such as group membership information or IKE configuration
* attributes.
*
* @param message Access-Accept message to process
*/
void eap_radius_process_attributes(radius_message_t *message);
#endif /** EAP_RADIUS_H_ @}*/