Bitstream Interpretation Library (BIL)  0.1
BitFileSections.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 #ifndef BIL_BITFILESECTIONS_HPP
8 #define BIL_BITFILESECTIONS_HPP
9 
10 #include <cstring>
11 #include <boost/cstdint.hpp>
12 
13 
14 namespace bil {
15 
16  // bitfile header size
17  const size_t BITFILE_HEADER_SIZE = 13;
18 
19  // bitfile header
20  extern const boost::uint8_t BITFILE_HEADER[BITFILE_HEADER_SIZE];
21 
22 
23  // constants denoting the sections found in a bitfile
24  const char BITFILE_KEY_SOURCEFILENAME = 'a';
25  const char BITFILE_KEY_TARGETDEVICENAME = 'b';
26  const char BITFILE_KEY_CREATIONDATE = 'c';
27  const char BITFILE_KEY_CREATIONTIME = 'd';
28  const char BITFILE_KEY_BITSTREAM = 'e';
29 
30 }
31 
32 #endif