summaryrefslogtreecommitdiffstats
path: root/contrib/isc-dhcp/includes
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-20 08:36:42 +0000
committerobrien <obrien@FreeBSD.org>2000-07-20 08:36:42 +0000
commit6c5ad021325798ac0714185ddc1df496452dfa44 (patch)
tree74fa317603829de6b9ba9165393c99dd06763841 /contrib/isc-dhcp/includes
parent5d4d7eb572e000c3cc53cfa2975257bfdd959b00 (diff)
downloadFreeBSD-src-6c5ad021325798ac0714185ddc1df496452dfa44.zip
FreeBSD-src-6c5ad021325798ac0714185ddc1df496452dfa44.tar.gz
Import Patchlevel 3 of the ISC 2.0 dhcp client.
Diffstat (limited to 'contrib/isc-dhcp/includes')
-rw-r--r--contrib/isc-dhcp/includes/dhcpd.h7
-rw-r--r--contrib/isc-dhcp/includes/version.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/isc-dhcp/includes/dhcpd.h b/contrib/isc-dhcp/includes/dhcpd.h
index ddf34f0..d46ddf1 100644
--- a/contrib/isc-dhcp/includes/dhcpd.h
+++ b/contrib/isc-dhcp/includes/dhcpd.h
@@ -356,6 +356,9 @@ struct client_state {
struct iaddr requested_address; /* Address we would like to get. */
struct client_config *config; /* Information from config file. */
+
+ struct string_list *env; /* Client script environment. */
+ int envc; /* Number of entries in environment. */
};
/* Information about each network interface. */
@@ -895,13 +898,15 @@ void free_client_lease PROTO ((struct client_lease *));
void rewrite_client_leases PROTO ((void));
void write_client_lease PROTO ((struct interface_info *,
struct client_lease *, int));
-char *dhcp_option_ev_name PROTO ((struct option *));
void script_init PROTO ((struct interface_info *, char *,
struct string_list *));
void script_write_params PROTO ((struct interface_info *,
char *, struct client_lease *));
int script_go PROTO ((struct interface_info *));
+void client_envadd PROTO ((struct client_state *,
+ const char *, const char *, const char *, ...));
+int dhcp_option_ev_name (char *, size_t, struct option *);
struct client_lease *packet_to_lease PROTO ((struct packet *));
void go_daemon PROTO ((void));
diff --git a/contrib/isc-dhcp/includes/version.h b/contrib/isc-dhcp/includes/version.h
index ccda68f..70d3d067 100644
--- a/contrib/isc-dhcp/includes/version.h
+++ b/contrib/isc-dhcp/includes/version.h
@@ -1,3 +1,3 @@
/* Current version of ISC DHCP Distribution. */
-#define DHCP_VERSION "2.0pl2"
+#define DHCP_VERSION "2.0pl3"
OpenPOWER on IntegriCloud