EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
hostapd.h
Go to the documentation of this file.
1 
14 #ifndef HOSTAPD_H
15 #define HOSTAPD_H
16 
17 #include <stdbool.h>
18 #include <sys/types.h>
19 
20 #include "../radius/radius_config.h"
21 #include "../radius/radius_server.h"
22 #include "../utils/allocs.h"
23 #include "../utils/os.h"
24 #include "ap_config.h"
25 
33 int generate_hostapd_conf(struct apconf *hconf, struct radius_conf *rconf);
34 
42 int generate_vlan_conf(char *vlan_file, char *interface);
43 
50 int run_ap_process(struct apconf *hconf);
51 
58 int signal_ap_process(const struct apconf *hconf);
59 
65 bool kill_ap_process(void);
66 
67 #endif
File containing the definition of AP config structures.
int generate_vlan_conf(char *vlan_file, char *interface)
Generates and save the VLAN configuration file.
Definition: hostapd.c:48
bool kill_ap_process(void)
Terminate the AP service.
Definition: hostapd.c:271
int generate_hostapd_conf(struct apconf *hconf, struct radius_conf *rconf)
Generates and saves the hostapd configuration files.
Definition: hostapd.c:111
int run_ap_process(struct apconf *hconf)
Executes the hostapd process.
Definition: hostapd.c:200
int signal_ap_process(const struct apconf *hconf)
Signal the AP process to reload the config.
Definition: hostapd.c:281
The hostapd configuration structure.
Definition: ap_config.h:51
Radius configuration structure.
Definition: radius_config.h:23