+/** Maplog log file header segment. In a separate file */
+
+typedef struct
+{
+ u8 maplog_major_version; /**< library major version number */
+ u8 maplog_minor_version; /**< library minor version number */
+ u8 maplog_patch_version; /**< library patch version number */
+ u8 maplog_flag_wrapped; /**< log has wrapped */
+ u32 application_id; /**< application identifier */
+ u8 application_major_version; /**< application major version number */
+ u8 application_minor_version; /**< application minor version number */
+ u8 application_patch_version; /**< application patch version number */
+ u8 maplog_flag_circular; /**< log is circular */
+ u32 record_size_in_cachelines; /**< record size in cache lines */
+ u32 cacheline_size; /**< cache line size */
+ u64 file_size_in_records; /**< file size in records */
+ u64 number_of_records; /**< number of records in entire log */
+ u64 number_of_files; /**< number of files in entire log */
+ u8 file_basename[256]; /**< file basename */
+} clib_maplog_header_t;
+
+#define MAPLOG_MAJOR_VERSION 1
+#define MAPLOG_MINOR_VERSION 1
+#define MAPLOG_PATCH_VERSION 0
+
+/** Process-private main data structure */
+