|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the app configuration utilities. More...
#include <utarray.h>#include "ap/ap_config.h"#include "capture/capture_config.h"#include "dhcp/dhcp_config.h"#include "dns/dns_config.h"#include "radius/radius_server.h"#include "supervisor/supervisor_config.h"#include "utils/allocs.h"#include "utils/hashmap.h"#include "utils/os.h"Go to the source code of this file.
Data Structures | |
| struct | app_config |
| The App configuration structures. Used for configuring the networking services. More... | |
Macros | |
| #define | MAX_USER_SECRET 255 |
| #define | MAX_SALT_STRING_SIZE 255 |
Functions | |
| int | load_app_config (const char *filename, struct app_config *config) |
| Load the app configuration. More... | |
| void | free_app_config (struct app_config *config) |
| Frees the app configuration. More... | |
| bool | load_capture_config (const char *filename, struct capture_conf *config) |
| Loads the capture config. More... | |
| bool | load_system_config (const char *filename, struct app_config *config) |
| Loads the system config. More... | |
| bool | load_supervisor_config (const char *filename, struct app_config *config) |
| Loads the supervisor config. More... | |
| bool | load_mdns_conf (const char *filename, struct app_config *config) |
| Loads the mDNS config. More... | |
| bool | load_interface_list (const char *filename, struct app_config *config) |
| Loads the list of interfaces. More... | |
| bool | load_ap_conf (const char *filename, struct app_config *config) |
| Loads the AP config. More... | |
File containing the definition of the app configuration utilities.
| #define MAX_SALT_STRING_SIZE 255 |
| #define MAX_USER_SECRET 255 |
| void free_app_config | ( | struct app_config * | config | ) |
Frees the app configuration.
| config | The app configuration structure |
| bool load_ap_conf | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Loads the AP config.
| filename | The app configuration file |
| config | The app configuration structure |
| int load_app_config | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Load the app configuration.
| filename | The app configuration file | |
| [in,out] | config | The configuration structure to store config in. Must be cleaned up with free_app_config(). |
| bool load_capture_config | ( | const char * | filename, |
| struct capture_conf * | config | ||
| ) |
Loads the capture config.
| filename | The app configuration file |
| config | The capture configuration structure |
| bool load_interface_list | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Loads the list of interfaces.
| filename | The app configuration file |
| config | The app configuration structure |
| bool load_mdns_conf | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Loads the mDNS config.
| filename | The app configuration file |
| config | The app configuration structure |
| bool load_supervisor_config | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Loads the supervisor config.
| filename | The app configuration file |
| config | The app configuration structure |
| bool load_system_config | ( | const char * | filename, |
| struct app_config * | config | ||
| ) |
Loads the system config.
| filename | The app configuration file |
| config | The app configuration structure |