summaryrefslogtreecommitdiffstats
path: root/configure.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-16 09:51:20 +0000
committerRoy Marples <roy@marples.name>2008-04-16 09:51:20 +0000
commitdcab79de5ef939f5af004048748fa3dae8cd00f4 (patch)
tree2e2ce98d208b45d11b9c86b2d923422459e5442e /configure.h
parent2cb85d9bb21273beee6bdfbe1d1ef0467af06ac1 (diff)
downloaddhcpcd-dcab79de5ef939f5af004048748fa3dae8cd00f4.tar.xz
Remove the .info file and now set environment vars in the same vein as dhclient. This allows similar scripts to be used.
Diffstat (limited to 'configure.h')
-rw-r--r--configure.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.h b/configure.h
index 61a89431..d5d30d45 100644
--- a/configure.h
+++ b/configure.h
@@ -32,9 +32,10 @@
#include "dhcp.h"
#include "net.h"
-int write_info(const struct interface *, const struct dhcp_message *,
- const struct dhcp_lease *, const struct options *, int);
-int configure(struct interface *, const struct dhcp_message *,
- const struct dhcp_lease *, const struct options *, int);
+int exec_script(const char *, const char *, const char *,
+ const struct dhcp_message *, const struct dhcp_message *);
+int configure(struct interface *, const char *,
+ const struct dhcp_message *, const struct dhcp_message *,
+ const struct dhcp_lease *, const struct options *, int);
#endif