changed method name to create_file_meas_enumerator
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Oct 2011 15:52:32 +0000 (17:52 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 13:39:52 +0000 (14:39 +0100)
src/libimcv/plugins/imv_attestation/imv_attestation_build.c
src/libpts/pts/pts_database.c
src/libpts/pts/pts_database.h

index 0dd5f3e..654782b 100644 (file)
@@ -160,7 +160,8 @@ bool imv_attestation_build(pa_tnc_msg_t *msg,
                        enumerator->destroy(enumerator);
                        
                        /* Send Request File Measurement attribute */
-                       enumerator = pts_db->create_file_enumerator(pts_db, platform_info);
+                       enumerator = pts_db->create_file_meas_enumerator(pts_db,
+                                                                                                                        platform_info);
                        if (!enumerator)
                        {
                                break;
index c9ca98d..3881fa7 100644 (file)
@@ -39,7 +39,7 @@ struct private_pts_database_t {
 
 };
 
-METHOD(pts_database_t, create_file_enumerator, enumerator_t*,
+METHOD(pts_database_t, create_file_meas_enumerator, enumerator_t*,
        private_pts_database_t *this, char *product)
 {
        enumerator_t *e;
@@ -113,7 +113,7 @@ pts_database_t *pts_database_create(char *uri)
 
        INIT(this,
                .public = {
-                       .create_file_enumerator = _create_file_enumerator,
+                       .create_file_meas_enumerator = _create_file_meas_enumerator,
                        .create_file_meta_enumerator = _create_file_meta_enumerator,
                        .create_hash_enumerator = _create_hash_enumerator,
                        .destroy = _destroy,
index c1b0b4b..9074766 100644 (file)
@@ -38,8 +38,8 @@ struct pts_database_t {
        * @param product                software product (os, vpn client, etc.)
        * @return                               enumerator over all matching files/directories
        */
-       enumerator_t* (*create_file_enumerator)(pts_database_t *this,
-                                                                                       char *product);
+       enumerator_t* (*create_file_meas_enumerator)(pts_database_t *this,
+                                                                                                char *product);
 
        /**
        * Get files/directories to request metadata of