00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef OP_HEADER_H
00013 #define OP_HEADER_H
00014
00015 #include <iosfwd>
00016 #include <string>
00017
00018 #include "op_sample_file.h"
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 void op_check_header(opd_header const & h1, opd_header const & h2,
00029 std::string const & filename);
00030
00031 bool is_jit_sample(std::string const & filename);
00032
00033
00034
00035
00036
00037 void check_mtime(std::string const & file, opd_header const & header);
00038
00039
00040
00041
00042
00043
00044
00045 opd_header const read_header(std::string const & sample_filename);
00046
00047
00048
00049
00050
00051 std::string const describe_header(opd_header const & header);
00052
00053
00054 std::string const describe_cpu(opd_header const & header);
00055
00056 #endif // OP_HEADER_H