From: Ted Lemon Date: Thu, 1 Jul 1999 19:14:55 +0000 (+0000) Subject: - Include files required by nsupdate if enabled. X-Git-Tag: V3-BETA-1-PATCH-0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972ab2aa721449d193c241e2ba53549e21ce3fed;p=thirdparty%2Fdhcp.git - Include files required by nsupdate if enabled. - Add nsupdate-specific structs to lease. - Define nsupdate server options. --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index c58674a10..b390780cc 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -26,6 +26,12 @@ #include #include #include + +#if defined (NSUPDATE) +# include +# include +#endif + #include #else #define fd_set cygwin_fd_set @@ -172,6 +178,8 @@ struct lease { unsigned char uid_buf [32]; char *hostname; char *client_hostname; + char *ddns_fwd_name; + char *ddns_rev_name; struct host_decl *host; struct subnet *subnet; struct pool *pool; @@ -258,6 +266,9 @@ struct lease_state { #define SV_ALWAYS_REPLY_RFC1048 20 #define SV_SITE_OPTION_SPACE 21 #define SV_ALWAYS_BROADCAST 22 +#define SV_DDNS_DOMAIN_NAME 23 +#define SV_DDNS_HOST_NAME 24 +#define SV_DDNS_REV_DOMAIN_NAME 25 #if !defined (DEFAULT_DEFAULT_LEASE_TIME) # define DEFAULT_DEFAULT_LEASE_TIME 43200