summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2023-05-24 10:17:05 +0200
committerFrancis Dupont <fdupont@isc.org>2023-07-06 22:11:32 +0200
commita4ea9faff55b8a48ffdcd4d1b3102f609d9106bd (patch)
tree7125ae843d77ce1558db0c167fd2c9ec71b7839d /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#2276] Upgrade global param values in DB (diff)
downloadkea-a4ea9faff55b8a48ffdcd4d1b3102f609d9106bd.tar.xz
kea-a4ea9faff55b8a48ffdcd4d1b3102f609d9106bd.zip
[#2869] Checkpoint: added statements
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index 8b60e4231f..7d4e0d7306 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -744,6 +744,16 @@ public:
IS_JSON_SUPPORTED, // Checks if JSON support is enabled in the database.
GET_LEASE4_COUNT_BY_CLASS, // Fetches the IPv4 lease count for a given class.
GET_LEASE6_COUNT_BY_CLASS, // Fetches the IPv6 lease count for given class and lease type.
+ WIPE_RELAY_ID6, // Wipe the lease6_relay_id table
+ WIPE_REMOTE_ID6, // Wipe the lease6_remote_id table
+ DELETE_RELAY_ID6, // Delete a lease6_relay_id entry by address
+ DELETE_REMOTE_ID6, // Delete a lease6_remote_id entry by address
+ ADD_RELAY_ID6, // Add a lease6_relay_id entry
+ ADD_REMOTE_ID6, // Add a lease6_remote_id entry
+ GET_RELAY_ID6, // Get lease6_relay_id entries
+ GET_REMOTE_ID6, // Get lease6_remote_id entries
+ GET_RELAY_ID6_LINK, // Get lease6_relay_id entries by link
+ GET_REMOTE_ID6_LINK, // Get lease6_remote_id entries by link
NUM_STATEMENTS // Number of statements
};