cosmetics
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 16 Nov 2011 11:19:46 +0000 (12:19 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:20:23 +0000 (21:20 +0100)
src/libpts/pts/pts_funct_comp_name.h
src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c
src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h

index db63c71..81c153a 100644 (file)
@@ -35,21 +35,21 @@ enum pts_funct_comp_type_t {
        /** Unknown */
        PTS_FUNC_COMP_TYPE_UNKNOWN =                    0x0,
        /** Trusted Platform */
-       PTS_FUNC_COMP_TYPE_TRUSTED =                     0x1,
+       PTS_FUNC_COMP_TYPE_TRUSTED =                    0x1,
        /** Operating System */
        PTS_FUNC_COMP_TYPE_OS =                                 0x2,
        /** Graphical User Interface */
-       PTS_FUNC_COMP_TYPE_GUI =                                 0x3,
+       PTS_FUNC_COMP_TYPE_GUI =                                0x3,
        /** Application */
        PTS_FUNC_COMP_TYPE_APP =                                0x4,
        /** Networking */
-       PTS_FUNC_COMP_TYPE_NET =                                 0x5,
+       PTS_FUNC_COMP_TYPE_NET =                                0x5,
        /** Library */
-       PTS_FUNC_COMP_TYPE_LIB =                                 0x6,
+       PTS_FUNC_COMP_TYPE_LIB =                                0x6,
        /** TNC Defined Component */
-       PTS_FUNC_COMP_TYPE_TNC =                                 0x7,
+       PTS_FUNC_COMP_TYPE_TNC =                                0x7,
        /** All matching Components */
-       PTS_FUNC_COMP_TYPE_ALL =                                 0xF,
+       PTS_FUNC_COMP_TYPE_ALL =                                0xF,
 };
 
 /**
@@ -59,17 +59,17 @@ enum pts_funct_comp_name_t {
        /** Ignore */
        PTS_FUNC_COMP_NAME_IGNORE =                             0x0000,
        /** CRTM */
-       PTS_FUNC_COMP_NAME_CRTM =                                0x0001,
+       PTS_FUNC_COMP_NAME_CRTM =                               0x0001,
        /** BIOS */
-       PTS_FUNC_COMP_NAME_BIOS =                                0x0002,
+       PTS_FUNC_COMP_NAME_BIOS =                               0x0002,
        /** Platform Extensions */
        PTS_FUNC_COMP_NAME_PLATFORM_EXT =               0x0003,
        /** Motherboard firmware */
        PTS_FUNC_COMP_NAME_BOARD =                              0x0004,
        /** Initial Program Loader */
-       PTS_FUNC_COMP_NAME_INIT_LOADER =                 0x0005,
+       PTS_FUNC_COMP_NAME_INIT_LOADER =                0x0005,
        /** Option ROMs */
-       PTS_FUNC_COMP_NAME_OPT_ROMS =                    0x0006,
+       PTS_FUNC_COMP_NAME_OPT_ROMS =                   0x0006,
 };
 
 /**
@@ -77,11 +77,11 @@ enum pts_funct_comp_name_t {
  */
 enum pts_ita_funct_comp_type_t {
        /** Unknown */
-       PTS_ITA_FUNC_COMP_TYPE_UNKNOWN =                        0x0,
+       PTS_ITA_FUNC_COMP_TYPE_UNKNOWN =                0x0,
        /** Trusted Platform */
-       PTS_ITA_FUNC_COMP_TYPE_TRUSTED =                        0x1,
+       PTS_ITA_FUNC_COMP_TYPE_TRUSTED =                0x1,
        /** All matching Components */
-       PTS_ITA_FUNC_COMP_TYPE_ALL =                            0xF,
+       PTS_ITA_FUNC_COMP_TYPE_ALL =                    0xF,
 };
 
 /**
index f1249d6..0d9796f 100644 (file)
@@ -28,7 +28,6 @@ typedef struct private_tcg_pts_attr_req_funct_comp_evid_t private_tcg_pts_attr_r
  *
  *                                        1                               2                               3
  *   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
- *
  *  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  *  |   Flags          |               Sub-component Depth     (for Component #1)      |
  *  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -47,11 +46,11 @@ typedef struct private_tcg_pts_attr_req_funct_comp_evid_t private_tcg_pts_attr_r
  */
 
 /**
- * Component Functional Name Structure (see section 5.1 of PTS Protocol: Binding to TNC IF-M Specification)
+ * Component Functional Name Structure 
+ * (see section 5.1 of PTS Protocol: Binding to TNC IF-M Specification)
  *
  *                                        1                               2                               3
  *   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
- *
  *  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  *  |   Component Functional Name Vendor ID            |Fam| Qualifier |
  *  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
index 668906a..1f830cf 100644 (file)
@@ -28,7 +28,6 @@ typedef struct tcg_pts_attr_req_funct_comp_evid_t tcg_pts_attr_req_funct_comp_ev
 #include "pts/pts_funct_comp_evid_req.h"
 #include "pa_tnc/pa_tnc_attr.h"
 
-
 /**
  * Class implementing the TCG PTS Request Functional Component Evidence attribute
  *
@@ -48,7 +47,6 @@ struct tcg_pts_attr_req_funct_comp_evid_t {
        pts_funct_comp_evid_req_t* (*get_requests)(
                                                                        tcg_pts_attr_req_funct_comp_evid_t *this);
        
-       
 };
 
 /**