summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2023-05-25 17:25:53 +0200
committerFrancis Dupont <fdupont@isc.org>2023-07-06 22:11:32 +0200
commit555b291656be5e623c258e5c232b1d8b127a4817 (patch)
tree567ccda8d82eec9f8c2bf3b299526b33a17a3b3a /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#2869] Implemented other not get ops (diff)
downloadkea-555b291656be5e623c258e5c232b1d8b127a4817.tar.xz
kea-555b291656be5e623c258e5c232b1d8b127a4817.zip
[#2869] Add getExtendedInfo6Common
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index 6b333e0ba2..7f0c3c6bc0 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -1271,6 +1271,17 @@ private:
/// @param addr The address of the lease.
void deleteRemoteId6(const isc::asiolink::IOAddress& addr);
+ /// @brief Common part of from lease6 extended info tables.
+ ///
+ /// @param ctx Context.
+ /// @param stindex Index of statement being executed.
+ /// @bind_array Selection bin array.
+ /// @return List of addresses.
+ std::list<isc::asiolink::IOAddress>
+ getExtendedInfo6Common(PgSqlLeaseContextPtr& ctx,
+ StatementIndex stindex,
+ db::PsqlBindArray& bind_array);
+
// Members
/// @brief The parameters