diff options
author | obrien <obrien@FreeBSD.org> | 2000-07-20 08:36:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-07-20 08:36:42 +0000 |
commit | adb1918b06371d2017980138aa8ea6fba0100041 (patch) | |
tree | d8304cd4a0aec240ceca0472d4dc72b6c181f6c6 /contrib/isc-dhcp/includes/dhcpd.h | |
parent | a75ac5a08f80ff97810f9414e6c63d82b81ffa91 (diff) | |
parent | 6c5ad021325798ac0714185ddc1df496452dfa44 (diff) | |
download | FreeBSD-src-adb1918b06371d2017980138aa8ea6fba0100041.zip FreeBSD-src-adb1918b06371d2017980138aa8ea6fba0100041.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r63616,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/isc-dhcp/includes/dhcpd.h')
-rw-r--r-- | contrib/isc-dhcp/includes/dhcpd.h | 7 |
1 files changed, 6 insertions, 1 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)); |