summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-04 11:30:11 +0000
committerRoy Marples <roy@marples.name>2008-09-04 11:30:11 +0000
commit96d0673a2cd58d50f0e4c8e0c60b332a7fff92a8 (patch)
tree1ca3996de4d29132abaca0a485c47b3e6509a47c /net.h
parent4570862e65882adb2b2b60e45b6ba7e6dec21229 (diff)
downloaddhcpcd-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net.h b/net.h
index bf8e4ba5..08e29efc 100644
--- a/net.h
+++ b/net.h
@@ -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