summaryrefslogtreecommitdiff
path: root/filemetadata.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-02-01 11:35:10 -0500
committerPeter LaFosse <peter@vector35.com>2022-03-16 08:05:27 -0400
commit5ce116e4d1d3c30537f3635c06d7a0c619e55e43 (patch)
treedd96aa9d6b55b26dd247cd0b7e4d0bdfc6a15681 /filemetadata.cpp
parentefb5d8ba056fbae3f57a80f813a18c4a6da60f28 (diff)
Add support for structured logging
Diffstat (limited to 'filemetadata.cpp')
-rw-r--r--filemetadata.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/filemetadata.cpp b/filemetadata.cpp
index e240cd1b..57ebcc2d 100644
--- a/filemetadata.cpp
+++ b/filemetadata.cpp
@@ -421,6 +421,13 @@ std::vector<std::string> FileMetadata::GetExistingViews() const
return result;
}
+
+size_t FileMetadata::GetSessionId() const
+{
+ return BNFileMetadataGetSessionId(m_object);
+}
+
+
bool FileMetadata::IsSnapshotDataAppliedWithoutError() const
{
return BNIsSnapshotDataAppliedWithoutError(m_object);