summaryrefslogtreecommitdiffstats
path: root/bind.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-03 16:49:28 +0000
committerRoy Marples <roy@marples.name>2008-09-03 16:49:28 +0000
commitf43e585355e50bd2e7021380db6fc792662f76be (patch)
treed81565b32d67516b6ae178bcdbff09bda3251b45 /bind.h
parentf0c98483e7369f2df38edc352433239fa24f6a2f (diff)
downloaddhcpcd-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 'bind.h')
-rw-r--r--bind.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bind.h b/bind.h
index 5aaabf70..f64d1c66 100644
--- a/bind.h
+++ b/bind.h
@@ -29,7 +29,6 @@
#define BIND_H
#include "config.h"
-#include "dhcpcd.h"
#ifdef THERE_IS_NO_FORK
#define daemonise() {}
#else
@@ -37,5 +36,5 @@ pid_t daemonise(void);
#endif
extern int can_daemonise;
-void bind_interface(struct interface *);
+void bind_interface(void *);
#endif