]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add next_expiry pointer to pool structure.
authorTed Lemon <source@isc.org>
Sat, 9 Oct 1999 04:49:41 +0000 (04:49 +0000)
committerTed Lemon <source@isc.org>
Sat, 9 Oct 1999 04:49:41 +0000 (04:49 +0000)
includes/dhcpd.h

index 2a64411b4d8d52833bc1bbef0ae2fab17be96780..f5fbb60d55a3595edf0d5d7c0998bbf76f84c41c 100644 (file)
@@ -451,6 +451,7 @@ struct pool {
        struct lease *leases;
        struct lease *insertion_point;
        struct lease *last_lease;
+       struct lease *next_expiry;
 };
 
 /* A failover peer. */
@@ -1821,6 +1822,7 @@ int supersede_lease PROTO ((struct lease *, struct lease *, int));
 void release_lease PROTO ((struct lease *, struct packet *));
 void abandon_lease PROTO ((struct lease *, const char *));
 void dissociate_lease PROTO ((struct lease *));
+void pool_timer PROTO ((void *));
 struct lease *find_lease_by_uid PROTO ((const unsigned char *, unsigned));
 struct lease *find_lease_by_hw_addr PROTO ((const unsigned char *, unsigned));
 struct lease *find_lease_by_ip_addr PROTO ((struct iaddr));
@@ -1829,6 +1831,7 @@ void uid_hash_delete PROTO ((struct lease *));
 void hw_hash_add PROTO ((struct lease *));
 void hw_hash_delete PROTO ((struct lease *));
 void write_leases PROTO ((void));
+void expire_all_pools PROTO ((void));
 void dump_subnets PROTO ((void));
 
 /* nsupdate.c */