diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2012-12-20 21:57:55 +0100 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2012-12-20 21:57:55 +0100 |
commit | 17553447e571eee4690ad90caf8365977d57c4f0 (patch) | |
tree | 4428523f9ac7ba170088d5f7a490345cd53de0f5 /src/lib/dhcpsrv/pool.h | |
parent | [2320] Lease4 and Lease6 now have common ancestor. (diff) | |
download | kea-17553447e571eee4690ad90caf8365977d57c4f0.tar.xz kea-17553447e571eee4690ad90caf8365977d57c4f0.zip |
[2320] Subnet4 and Subnet6 have much more common code now.
Diffstat (limited to 'src/lib/dhcpsrv/pool.h')
-rw-r--r-- | src/lib/dhcpsrv/pool.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pool.h b/src/lib/dhcpsrv/pool.h index eb5e5e2d51..e8dc3e3eda 100644 --- a/src/lib/dhcpsrv/pool.h +++ b/src/lib/dhcpsrv/pool.h @@ -179,6 +179,13 @@ typedef boost::shared_ptr<Pool6> Pool6Ptr; /// @brief a container for IPv6 Pools typedef std::vector<Pool6Ptr> Pool6Collection; +/// @brief a pointer to either IPv4 or IPv6 Pool +typedef boost::shared_ptr<Pool> PoolPtr; + +/// @brief a container for either IPv4 or IPv6 Pools +typedef std::vector<PoolPtr> PoolCollection; + + } // end of isc::dhcp namespace } // end of isc namespace |