From: Andreas Steffen Date: Wed, 16 Nov 2011 11:19:46 +0000 (+0100) Subject: cosmetics X-Git-Tag: 4.6.2~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6beb16689c37ce91b7fd32e97ca9675f88c317a;p=thirdparty%2Fstrongswan.git cosmetics --- diff --git a/src/libpts/pts/pts_funct_comp_name.h b/src/libpts/pts/pts_funct_comp_name.h index db63c7100b..81c153a0b8 100644 --- a/src/libpts/pts/pts_funct_comp_name.h +++ b/src/libpts/pts/pts_funct_comp_name.h @@ -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, }; /** diff --git a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c index f1249d64a3..0d9796f599 100644 --- a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c +++ b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c @@ -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 | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ diff --git a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h index 668906a3d7..1f830cf0f7 100644 --- a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h +++ b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h @@ -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); - }; /**