11 #ifndef DHCP_SERVICE_H
12 #define DHCP_SERVICE_H
16 #include "../utils/allocs.h"
17 #include "../utils/os.h"
29 char *supervisor_control_path,
bool exec_dhcp);
File containing the definition of dhcp configuration structures.
bool close_dhcp(void)
Closes (terminates) dhcp process.
Definition: dhcp_service.c:41
int run_dhcp(struct dhcp_conf *dconf, UT_array *dns_server_array, char *supervisor_control_path, bool exec_dhcp)
Run the DHCP server.
Definition: dhcp_service.c:19
int clear_dhcp_lease(char *mac_addr, struct dhcp_conf *dconf)
Clear the DHCP lease for a MAC addrress.
Definition: dhcp_service.c:43
The dhcp configuration structures.
Definition: dhcp_config.h:40