moved file_meas_entry_t struct to header file
authorSansar Choinyambuu <schoinya@hsr.ch>
Fri, 19 Aug 2011 11:24:52 +0000 (13:24 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:08:11 +0000 (12:08 +0200)
src/libimcv/tcg/tcg_pts_attr_file_meas.c
src/libimcv/tcg/tcg_pts_attr_file_meas.h

index 6f48471..362f9ed 100644 (file)
 #include <debug.h>
 
 typedef struct private_tcg_pts_attr_file_meas_t private_tcg_pts_attr_file_meas_t;
 #include <debug.h>
 
 typedef struct private_tcg_pts_attr_file_meas_t private_tcg_pts_attr_file_meas_t;
-typedef struct file_meas_entry_t file_meas_entry_t;
-
-/**
- * File Measurement entry
- */
-struct file_meas_entry_t {
-       chunk_t   measurement;
-       u_int16_t file_name_len;
-       chunk_t   file_name;
-};
 
 /**
  * File Measurement
 
 /**
  * File Measurement
index 8b610c0..95ecfdc 100644 (file)
@@ -26,6 +26,17 @@ typedef struct tcg_pts_attr_file_meas_t tcg_pts_attr_file_meas_t;
 #include "tcg_attr.h"
 #include "pa_tnc/pa_tnc_attr.h"
 
 #include "tcg_attr.h"
 #include "pa_tnc/pa_tnc_attr.h"
 
+typedef struct file_meas_entry_t file_meas_entry_t;
+
+/**
+ * File Measurement entry
+ */
+struct file_meas_entry_t {
+       chunk_t   measurement;
+       u_int16_t file_name_len;
+       chunk_t   file_name;
+};
+
 /**
  * Class implementing the TCG PTS File Measurement attribute
  *
 /**
  * Class implementing the TCG PTS File Measurement attribute
  *