The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Submodule interface. More...
#include <freeradius-devel/server/dl_module.h>
#include <freeradius-devel/server/module.h>
Go to the source code of this file.
Data Structures | |
struct | rlm_eap_method_t |
Private structure to hold handles and interfaces for an EAP method. More... | |
struct | rlm_eap_submodule_t |
Interface exported by EAP submodules. More... | |
Macros | |
#define | MAX_PROVIDED_METHODS 5 |
Typedefs | |
typedef eap_type_t(* | eap_type_identity_t) (void *inst, char const *id, size_t id_len) |
Allow a module to vouch explicitly for an identity. More... | |
Submodule interface.
Definition in file submodule.h.
struct rlm_eap_method_t |
Private structure to hold handles and interfaces for an EAP method.
Definition at line 67 of file submodule.h.
Data Fields | ||
---|---|---|
rlm_eap_submodule_t const * | submodule | Submodule's exported interface. |
module_instance_t * | submodule_inst | Submodule's instance data. |
struct rlm_eap_submodule_t |
Interface exported by EAP submodules.
Definition at line 49 of file submodule.h.
Data Fields | ||
---|---|---|
bool | clone_parent_lists |
< Namespace children should be allocated in. HACK until all eap methods run their own sections. |
module_t | common | Common fields provided by all modules. |
eap_type_t | provides[MAX_PROVIDED_METHODS] | Allow the module to register itself for more than one EAP-Method. |
module_method_t | session_init | Callback for creating a new eap_session_t. |
eap_type_identity_t | type_identity | Do we recognise this identity? |
#define MAX_PROVIDED_METHODS 5 |
Definition at line 28 of file submodule.h.
typedef eap_type_t(* eap_type_identity_t) (void *inst, char const *id, size_t id_len) |
Allow a module to vouch explicitly for an identity.
This is mainly used for EAP-SIM/EAP-AKA/EAP-AKA' where the preferred eap method is specified by the first byte of the identity.
[in] | inst | Submodule instance. |
[in] | id | To check. Do NOT assume the identity is binary safe, it is common for some identities to be prefixed with a \0 byte. |
[in] | id_len | Length of the identity. |
Definition at line 44 of file submodule.h.