summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/leases.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-06-10 17:22:49 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-06-10 17:22:49 +0000
commit24833430bc2dbea733c3b0b9ea6c6b976f95474a (patch)
tree805a4197b8a0d36eaa6880dfc23d8c2539359fe9 /networking/udhcp/leases.h
parent6c43f743a3f607f91ee22a53db880fce2df645f0 (diff)
Vodz, last_patch_88
Diffstat (limited to 'networking/udhcp/leases.h')
-rw-r--r--networking/udhcp/leases.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/leases.h b/networking/udhcp/leases.h
index bc50f68de..d54cd11cc 100644
--- a/networking/udhcp/leases.h
+++ b/networking/udhcp/leases.h
@@ -9,6 +9,8 @@ struct dhcpOfferedAddr {
u_int32_t expires; /* host order */
};
+extern const char leases_file[];
+
extern unsigned char blank_chaddr[];
void clear_lease(u_int8_t *chaddr, u_int32_t yiaddr);
@@ -18,7 +20,6 @@ struct dhcpOfferedAddr *oldest_expired_lease(void);
struct dhcpOfferedAddr *find_lease_by_chaddr(u_int8_t *chaddr);
struct dhcpOfferedAddr *find_lease_by_yiaddr(u_int32_t yiaddr);
u_int32_t find_address(int check_expired);
-int check_ip(u_int32_t addr);
#endif