diff options
| author | Roy Marples <roy@marples.name> | 2008-09-04 11:30:11 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-04 11:30:11 +0000 |
| commit | 96d0673a2cd58d50f0e4c8e0c60b332a7fff92a8 (patch) | |
| tree | 1ca3996de4d29132abaca0a485c47b3e6509a47c /net.h | |
| parent | 4570862e65882adb2b2b60e45b6ba7e6dec21229 (diff) | |
| download | dhcpcd-96d0673a2cd58d50f0e4c8e0c60b332a7fff92a8.tar.xz | |
When OS reports new and removed interfaces, dhcpcd sees this and either starts or stops watching them. BSD only, Linux to follow.
Diffstat (limited to 'net.h')
| -rw-r--r-- | net.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -149,6 +149,9 @@ ssize_t send_raw_packet(const struct interface *, int, ssize_t get_raw_packet(struct interface *, int, void *, ssize_t); int open_link_socket(void); -int link_changed(int, const struct interface *); +int manage_link(int, struct interface *, + void (*)(struct interface *), + void (*)(const char *), + void (*)(struct interface *)); int carrier_status(const char *); #endif |
