comparison src/deltasearch.cpp @ 129:fc11b1d1ad34

fix initial from header in mbox format. start moving to PST_LE_GET* rather than LE*_CPU macros so we can eventually remove the pragma packing.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 05 Feb 2009 12:09:04 -0800
parents 7f747c8c9d02
children
comparison
equal deleted inserted replaced
128:7f747c8c9d02 129:fc11b1d1ad34
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <iostream>
4 #include <sys/types.h>
5 #include <sys/stat.h>
6 #include <fcntl.h>
7 #include <vector>
8 using namespace std;
9 extern "C" { 1 extern "C" {
10 #include "define.h" 2 #include "define.h"
11 }; 3 };
4
5 #include <fcntl.h>
6 #include <iostream>
7 #include <vector>
8 using namespace std;
12 9
13 unsigned char comp_enc [] = 10 unsigned char comp_enc [] =
14 { 0x47, 0xf1, 0xb4, 0xe6, 0x0b, 0x6a, 0x72, 0x48, 11 { 0x47, 0xf1, 0xb4, 0xe6, 0x0b, 0x6a, 0x72, 0x48,
15 0x85, 0x4e, 0x9e, 0xeb, 0xe2, 0xf8, 0x94, 0x53, /*0x0f*/ 12 0x85, 0x4e, 0x9e, 0xeb, 0xe2, 0xf8, 0x94, 0x53, /*0x0f*/
16 0xe0, 0xbb, 0xa0, 0x02, 0xe8, 0x5a, 0x09, 0xab, 13 0xe0, 0xbb, 0xa0, 0x02, 0xe8, 0x5a, 0x09, 0xab,