 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef CSV_LEASE_FILE4_H
8 #define CSV_LEASE_FILE4_H
51 virtual void open(
const bool seek_to_end =
false);
167 #endif // CSV_LEASE_FILE4_H
boost::shared_ptr< Lease4 > Lease4Ptr
Pointer to a Lease4 structure.
The IOAddress class represents an IP addresses (version agnostic)
Provides statistics for leases.
bool next(Lease4Ptr &lease)
Reads next lease from the CSV file.
Hardware type that represents information from DHCPv4 packet.
virtual void open(const bool seek_to_end=false)
Opens a lease file.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void append(const Lease4 &lease)
Appends the lease record to the CSV file.
Represents a single row of the CSV file.
CSVLeaseFile4(const std::string &filename)
Constructor.
Implements a CSV file that supports multiple versions of the file's "schema".
boost::shared_ptr< ClientId > ClientIdPtr
Shared pointer to a Client ID.
Provides methods to access CSV file with DHCPv4 leases.
boost::shared_ptr< const Element > ConstElementPtr
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)
Structure that holds a lease for IPv4 address.