EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
radius_service.h
Go to the documentation of this file.
1 
11 #ifndef RADIUS_SERVICE_H
12 #define RADIUS_SERVICE_H
13 
14 #include <eloop.h>
15 #include "../supervisor/supervisor.h"
16 
17 #include "radius_config.h"
18 #include "radius_server.h"
19 
29 struct radius_server_data *run_radius(struct eloop_data *eloop,
30  struct radius_conf *rconf,
31  mac_conn_fn radius_callback_fn,
32  void *radius_callback_args);
33 
39 void close_radius(struct radius_server_data *srv);
40 
41 #endif
File containing the definition of the radius config.
struct mac_conn_info(* mac_conn_fn)(uint8_t mac_addr[], void *mac_conn_arg)
Definition: radius_config.h:32
RADIUS authentication server.
struct radius_server_data * run_radius(struct eloop_data *eloop, struct radius_conf *rconf, mac_conn_fn radius_callback_fn, void *radius_callback_args)
Runs the radius service.
Definition: radius_service.c:24
void close_radius(struct radius_server_data *srv)
Closes the radius service.
Definition: radius_service.c:34
Radius configuration structure.
Definition: radius_config.h:23
Definition: radius_server.h:95
struct eloop_data * eloop
Definition: radius_server.h:99