component_hashes new table added

measurements added for tboot component
create_comp_hash_enumerator modified accordingly
This commit is contained in:
Sansar Choinyambuu
2011-11-28 21:20:23 +01:00
committed by Andreas Steffen
parent 40cfe6db6a
commit 0975b00d06
5 changed files with 50 additions and 117 deletions
+6 -4
View File
@@ -68,7 +68,8 @@ struct pts_database_t {
* @param is_dir TRUE if directory was measured
* @return enumerator over all matching measurement hashes
*/
enumerator_t* (*create_hash_enumerator)(pts_database_t *this, char *product,
enumerator_t* (*create_file_hash_enumerator)(
pts_database_t *this, char *product,
pts_meas_algorithms_t algo,
int id, bool is_dir);
@@ -77,11 +78,12 @@ struct pts_database_t {
*
* @param product software product (os, vpn client, etc.)
* @param algo hash algorithm used for measurement
* @param comp_name value of path column in files table
* @param comp_name functional component name object
* @return enumerator over all matching measurement hashes
*/
enumerator_t* (*create_comp_hash_enumerator)(pts_database_t *this, char *product,
pts_meas_algorithms_t algo, char *comp_name);
enumerator_t* (*create_comp_hash_enumerator)(pts_database_t *this,
char *product, pts_meas_algorithms_t algo,
pts_comp_func_name_t *comp_name);
/**
* Destroys a pts_database_t object.