-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhead.h
37 lines (27 loc) · 897 Bytes
/
head.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/stat.h>
//#include <math.h>
//linux head file
//#include <dirent.h>
//#include <sys/stat.h>
//#include <unistd.h>
//#include <errno.h>
//public para
extern char *title, *genBaseBuf; //src file info
extern int **Indexarray, *IndexarrayNum, HashStrlen, IndexPosiCount, BaseCount, *IndexPosition,VALUELEN;//index info
extern char IndexPreKey[];
extern float E;
extern int *ref_index, refunit, Readlen,CONSIDERLEN,cp;
//associate function
int base_hash(unsigned char a, int b);
int stringcmp(char *str1, char *str2);
char Caps(char a);
char REV(char a);
//genProcess
char * genProcess(char *genFileName, char *genBaseBuf, char *PreKey);
//map function
int map(char *readFileName, char*buf, char *outFileName, char *argv[]);
//int output_test( chp filename, chp base_title ); //test