-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathanalysis.h
47 lines (40 loc) · 1010 Bytes
/
analysis.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
38
39
40
41
42
43
44
45
46
47
/*
* =====================================================================================
*
* Filename: analysis.h
*
* Description: analysis.h is used for analysis html files to some link this file included.
*
* Version: 1.0
* Created: 2014年10月26日 18时46分57秒
* Revision: none
* Compiler: gcc
*
* Author: qhsong (),
* Organization:
*
* =====================================================================================
*/
#ifndef ANALYSIS_H
#define ANALYSIS_H
#include<string.h>
#include<malloc.h>
#include<pthread.h>
#include "common.h"
#include "trie.h"
#define LEN_HREF 4
#define LEN_JAVASCRIPT 10
#define LEN_HTTPFLAG 7
#define STATUS_0 0
#define STATUS_1 1
#define STATUS_2 2
#define STATUS_3 3
#define STATUS_4 4
#define STATUS_5 5
#define STATUS_6 6
#define STATUS_7 7
void* analy_run(void *arg);
void analy(void *arg);
char* trans(char *baseurl,char *url);
void get_address(char *arg,START_POINT *sp);
#endif