summaryrefslogtreecommitdiff
path: root/src/libpts/plugins/imv_attestation/attest_db.h
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-08-25 15:37:26 +0200
committerYves-Alexis Perez <corsac@debian.org>2013-08-25 15:37:26 +0200
commit6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349 (patch)
tree009fc492961e13860d2a4bc2de8caf2bbe2975e7 /src/libpts/plugins/imv_attestation/attest_db.h
parentc83921a2b566aa9d55d8ccc7258f04fca6292ee6 (diff)
downloadvyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.tar.gz
vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.zip
Imported Upstream version 5.1.0
Diffstat (limited to 'src/libpts/plugins/imv_attestation/attest_db.h')
-rw-r--r--src/libpts/plugins/imv_attestation/attest_db.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/libpts/plugins/imv_attestation/attest_db.h b/src/libpts/plugins/imv_attestation/attest_db.h
index a20023fcd..d0a48d844 100644
--- a/src/libpts/plugins/imv_attestation/attest_db.h
+++ b/src/libpts/plugins/imv_attestation/attest_db.h
@@ -160,9 +160,9 @@ struct attest_db_t {
void (*set_relative)(attest_db_t *this);
/**
- * Set the package security state
+ * Set the package security or blacklist state
*/
- void (*set_security)(attest_db_t *this, os_package_state_t security);
+ void (*set_package_state)(attest_db_t *this, os_package_state_t package_state);
/**
* Set the sequence number
@@ -193,6 +193,11 @@ struct attest_db_t {
void (*list_products)(attest_db_t *this);
/**
+ * List all directories stored in the database
+ */
+ void (*list_directories)(attest_db_t *this);
+
+ /**
* List selected files stored in the database
*/
void (*list_files)(attest_db_t *this);
@@ -223,6 +228,11 @@ struct attest_db_t {
void (*list_measurements)(attest_db_t *this);
/**
+ * List sessions stored in the database
+ */
+ void (*list_sessions)(attest_db_t *this);
+
+ /**
* Add an entry to the database
*/
bool (*add)(attest_db_t *this);