All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mem.c File Reference
#include <stdio.h>
#include "rlm_eap.h"
+ Include dependency graph for mem.c:

Go to the source code of this file.

Functions

static int _eap_session_free (eap_session_t *eap_session)
 
eap_round_teap_round_alloc (eap_session_t *eap_session)
 
eap_session_teap_session_alloc (rlm_eap_t *inst, REQUEST *request)
 Allocate a new eap_session_t. More...
 

Function Documentation

static int _eap_session_free ( eap_session_t eap_session)
static

Definition at line 53 of file mem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

eap_round_t* eap_round_alloc ( eap_session_t eap_session)

Definition at line 32 of file mem.c.

+ Here is the caller graph for this function:

eap_session_t* eap_session_alloc ( rlm_eap_t inst,
REQUEST request 
)

Allocate a new eap_session_t.

Allocates a new eap_session_t, and inserts it into the REQUEST_DATA_EAP_SESSION index of the request.

Note
The eap_session_t will remove itself from the REQUEST_DATA_EAP_SESSION index if it is freed. This is to simplify management of the request data entry.
Parameters
instThis session belongs to.
requestThat generated this eap_session_t.
Returns

Definition at line 107 of file mem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: