summaryrefslogtreecommitdiffstats
path: root/control.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-12 16:39:01 +0000
committerRoy Marples <roy@marples.name>2009-01-12 16:39:01 +0000
commite467f4b21724ad4c3c9f7a3ee9af91c4385a8a88 (patch)
tree8337a6a5ba3d2bb2a4db5f23a2831fe32de2b0e4 /control.h
parente0c05611c032b8a1e75a11aa8bdbfecf34acf785 (diff)
downloaddhcpcd-e467f4b21724ad4c3c9f7a3ee9af91c4385a8a88.tar.xz
Remove the limit for the number of connections to the control socket.
Send the dhcpcd-run-hooks enviornment to listeners on the control socket.
Diffstat (limited to 'control.h')
-rw-r--r--control.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/control.h b/control.h
index 44406902..04d7aa1d 100644
--- a/control.h
+++ b/control.h
@@ -30,6 +30,13 @@
#include "dhcpcd.h"
+struct fd_list {
+ int fd;
+ int listener;
+ struct fd_list *next;
+};
+extern struct fd_list *fds;
+
int start_control(void);
int stop_control(void);
int open_control(void);