2#include <freeradius-devel/server/base.h>
3#include <freeradius-devel/server/module_rlm.h>
4#include <freeradius-devel/util/debug.h>
8#define SAFE_STR(s) s==NULL?"EMPTY":s
36#define SECURID_STATE_LEN 32
38 struct _securid_session_t *prev, *
next;
The main red black tree structure.
SECURID_SESSION * securid_sessionlist_find(rlm_securid_t *inst, request_t *request)
int securid_sessionlist_add(rlm_securid_t *inst, request_t *request, SECURID_SESSION *session)
SECURID_SESSION * securid_session_alloc(void)
SECURID_SESSION * session_head
HIDDEN fr_dict_attr_t const * attr_state
fr_rb_tree_t * session_tree
unsigned int last_session_id
HIDDEN fr_dict_attr_t const * attr_user_password
HIDDEN fr_dict_attr_t const * attr_reply_message
void securid_session_free(rlm_securid_t *inst, request_t *request, SECURID_SESSION *session)
struct _securid_session_t * next
SECURID_SESSION_STATE securidSessionState
pthread_mutex_t session_mutex
@ NEW_PIN_SYSTEM_CONFIRM_STATE
@ NEW_PIN_USER_SELECT_STATE
@ NEW_PIN_AUTH_VALIDATE_STATE
@ NEW_PIN_SYSTEM_ACCEPT_STATE
@ NEXT_CODE_REQUIRED_STATE
@ NEW_PIN_USER_CONFIRM_STATE
HIDDEN fr_dict_attr_t const * attr_prompt
void securid_sessionlist_free(rlm_securid_t *inst, request_t *request)
#define SECURID_STATE_LEN
uint32_t max_trips_per_session
eap_aka_sim_process_conf_t * inst