diff options
| author | Roy Marples <roy@marples.name> | 2008-09-03 16:49:28 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-03 16:49:28 +0000 |
| commit | f43e585355e50bd2e7021380db6fc792662f76be (patch) | |
| tree | d81565b32d67516b6ae178bcdbff09bda3251b45 /dhcpcd.h | |
| parent | f0c98483e7369f2df38edc352433239fa24f6a2f (diff) | |
| download | dhcpcd-f43e585355e50bd2e7021380db6fc792662f76be.tar.xz | |
Add a control socket so that interfaces can be dynamically re-set.
This requires the event loop argument being changed to void *
so we can send arguments other than an interface.
Diffstat (limited to 'dhcpcd.h')
| -rw-r--r-- | dhcpcd.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -28,7 +28,6 @@ #ifndef DHCPCD_H #define DHCPCD_H -#include <sys/socket.h> #include <net/if.h> #include <limits.h> @@ -105,14 +104,15 @@ struct interface }; extern int pidfd; -void handle_exit_timeout(struct interface *); -void send_request(struct interface *); -void start_interface(struct interface *); -void start_discover(struct interface *); -void start_renew(struct interface *); -void start_rebind(struct interface *); +int handle_args(int, char **); +void handle_exit_timeout(void *); +void send_request(void *); +void start_interface(void *); +void start_discover(void *); +void start_renew(void *); +void start_rebind(void *); void start_reboot(struct interface *); -void start_expire(struct interface *); +void start_expire(void *); void send_decline(struct interface *); void close_sockets(struct interface *); void drop_config(struct interface *, const char *); |
