Added get_data_expires function to both Perl and Lua to retrieve DataBucket expire time

This commit is contained in:
Matt Hogan
2018-10-19 19:37:25 -04:00
parent 9f039b47e9
commit 88debae660
4 changed files with 45 additions and 0 deletions
+4
View File
@@ -822,6 +822,10 @@ std::string lua_get_data(std::string bucket_key) {
return DataBucket::GetData(bucket_key);
}
std::string lua_get_data_expires(std::string bucket_key) {
return DataBucket::GetDataExpires(bucket_key);
}
void lua_set_data(std::string bucket_key, std::string bucket_value) {
DataBucket::SetData(bucket_key, bucket_value);
}