check on-disk and loaded segment integrity of libstrongswan

This commit is contained in:
Martin Willi
2009-06-22 15:47:17 +02:00
parent d88bcee079
commit 6a8c8815fe
3 changed files with 35 additions and 3 deletions
+9
View File
@@ -81,6 +81,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.
*/