Implemented new create enumerator function to get metadata request paths
Modified existing file_enumerator function to include just measurement requests
This commit is contained in:
committed by
Andreas Steffen
parent
df918eca8d
commit
8ed9f5552e
@@ -33,13 +33,21 @@ typedef struct pts_database_t pts_database_t;
|
||||
struct pts_database_t {
|
||||
|
||||
/**
|
||||
* Get files to be measured by PTS
|
||||
* Get files/directories to be measured by PTS
|
||||
*
|
||||
* @param product software product (os, vpn client, etc.)
|
||||
* @return enumerator over all matching files
|
||||
* @return enumerator over all matching files/directories
|
||||
*/
|
||||
enumerator_t* (*create_file_enumerator)(pts_database_t *this, char *product);
|
||||
|
||||
/**
|
||||
* Get files/directories to request metadata of
|
||||
*
|
||||
* @param product software product (os, vpn client, etc.)
|
||||
* @return enumerator over all matching files/directories
|
||||
*/
|
||||
enumerator_t* (*create_file_meta_enumerator)(pts_database_t *this, char *product);
|
||||
|
||||
/**
|
||||
* Get stored measurement hash for single file or directory entries
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user