EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
supervisor.h
Go to the documentation of this file.
1 
11 #ifndef SUPERVISOR_H
12 #define SUPERVISOR_H
13 
14 #include "supervisor_config.h"
15 
23 struct mac_conn_info get_mac_conn_cmd(uint8_t mac_addr[], void *mac_conn_arg);
24 
33 void ap_service_callback(struct supervisor_context *context, uint8_t mac_addr[],
35 
44 int run_supervisor(char *server_path, unsigned int port,
45  struct supervisor_context *context);
46 
53 void close_supervisor(struct supervisor_context *context);
54 
55 #endif
AP_CONNECTION_STATUS
The AP conection status.
Definition: ap_config.h:41
MAC connection info structure.
Definition: mac_mapper.h:34
enum AP_CONNECTION_STATUS status
Definition: mac_mapper.h:35
Supervisor structure definition.
Definition: supervisor_config.h:45
void ap_service_callback(struct supervisor_context *context, uint8_t mac_addr[], enum AP_CONNECTION_STATUS status)
The AP service callback.
Definition: supervisor.c:209
int run_supervisor(char *server_path, unsigned int port, struct supervisor_context *context)
Executes the supervisor service.
Definition: supervisor.c:335
struct mac_conn_info get_mac_conn_cmd(uint8_t mac_addr[], void *mac_conn_arg)
Return a mac_conn_info for a given MAC address.
Definition: supervisor.c:118
void close_supervisor(struct supervisor_context *context)
Closes the supervisor service.
Definition: supervisor.c:309
File containing the definition of the supervisor service structure.