All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions | Variables
rlm_eap_gtc.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "eap.h"
#include <freeradius-devel/rad_assert.h>
+ Include dependency graph for rlm_eap_gtc.c:

Go to the source code of this file.

Data Structures

struct  rlm_eap_gtc_t
 

Typedefs

typedef struct rlm_eap_gtc_t rlm_eap_gtc_t
 

Functions

static int CC_HINT (nonnull)
 
static int mod_process (void *instance, eap_session_t *eap_session)
 
static int mod_session_init (void *instance, eap_session_t *eap_session)
 

Variables

static CONF_PARSER module_config []
 
rlm_eap_module_t rlm_eap_gtc
 

Data Structure Documentation

struct rlm_eap_gtc_t

Definition at line 37 of file rlm_eap_gtc.c.

Data Fields
int auth_type
char const * auth_type_name
char const * challenge

Typedef Documentation

typedef struct rlm_eap_gtc_t rlm_eap_gtc_t

Function Documentation

static int CC_HINT ( nonnull  )
static

Definition at line 51 of file rlm_eap_gtc.c.

+ Here is the call graph for this function:

static int mod_process ( void *  instance,
eap_session_t eap_session 
)
static

Definition at line 132 of file rlm_eap_gtc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int mod_session_init ( void *  instance,
eap_session_t eap_session 
)
static

Definition at line 89 of file rlm_eap_gtc.c.

+ Here is the call graph for this function:

Variable Documentation

CONF_PARSER module_config[]
static
Initial value:
= {
{ FR_CONF_OFFSET("challenge", PW_TYPE_STRING, rlm_eap_gtc_t, challenge), .dflt = "Password: " },
{ FR_CONF_OFFSET("auth_type", PW_TYPE_STRING, rlm_eap_gtc_t, auth_type_name), .dflt = "PAP" },
}
#define CONF_PARSER_TERMINATOR
Definition: conffile.h:289
#define FR_CONF_OFFSET(_n, _t, _s, _f)
Definition: conffile.h:168
String of printable characters.
Definition: radius.h:33

Definition at line 43 of file rlm_eap_gtc.c.

rlm_eap_module_t rlm_eap_gtc
Initial value:
= {
.name = "eap_gtc",
.instantiate = mod_instantiate,
.session_init = mod_session_init,
.process = mod_process
}
static int mod_instantiate(CONF_SECTION *conf, void *instance)
Definition: rlm_always.c:55
static int mod_process(void *instance, eap_session_t *eap_session)
Definition: rlm_eap_gtc.c:132
static int mod_session_init(void *instance, eap_session_t *eap_session)
Definition: rlm_eap_gtc.c:89

Definition at line 244 of file rlm_eap_gtc.c.