⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basic.h

📁 linux 上http email 协议分析程序 主要能够处理大数据量的主干网的应用
💻 H
字号:
#ifndef _CVAL_FILE_H
#define _CVAL_FILE_H

#include "Stru.h"
//解读字段内容的方法
class Cval
{
public:
	//this is end boudary flag;
	static bool isEndBoudary(char *szline);
	static int getEncodingType(char *pval);
	static int getContentType(char *pval);
	static bool getFileName(char *pval,char *pout);
	static bool getContentTypeValue(char *pval,char *pout);
	static bool getNextAtom(char *&pval,char *sz_buf);

	static bool isSpecails(char c);
	static bool isDelimiter(char c);

	

};

int tfrMonth(char *);
void reverseHead(struct ST_TCP_STREAM *phead);
bool isspmon(struct ST_TCP_STREAM *phead);
void logHead(struct ST_TCP_STREAM *phead);
void traceFile(char *, int,char *);
void traceIpFile(char *, int,char *);

void saveFile(char *, int,char *);
   
void saveIpFile(char *, int,char *);
//#ifdef FROMFILE

int readFile(char *);

//#endif


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -