aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/integrity_checker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/integrity_checker.h')
-rw-r--r--src/libstrongswan/integrity_checker.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/integrity_checker.h b/src/libstrongswan/integrity_checker.h
index ec4961e01..d10de5b5b 100644
--- a/src/libstrongswan/integrity_checker.h
+++ b/src/libstrongswan/integrity_checker.h
@@ -82,6 +82,15 @@ struct integrity_checker_t {
u_int32_t (*build_segment)(integrity_checker_t *this, void *sym);
/**
+ * Check both, on disk file integrity and loaded segment.
+ *
+ * @param name name to lookup checksum
+ * @param sym a symbol to look up library and segment
+ * @return TRUE if integrity tested successfully
+ */
+ bool (*check)(integrity_checker_t *this, char *name, void *sym);
+
+ /**
* Destroy a integrity_checker_t.
*/
void (*destroy)(integrity_checker_t *this);