整理目录结构,编写CMakeLists.txt文件

This commit is contained in:
Lu
2018-08-17 20:29:38 +08:00
parent 093afcce8d
commit 86c18a15c3
68 changed files with 13 additions and 11566 deletions

23
common/include/tfe_stat.h Normal file
View File

@@ -0,0 +1,23 @@
#include "tfe_types.h"
enum TFE_STAT_FIELD
{
STREAM_NUM=0,
STREAM_OPEN,
STREAM_CLOSE,
STREAM_ERROR,
SSL_NUM,
SSL_OPEN,
SSL_CLOSE,
SSL_ERROR,
SNI_PEAK_FAIL,
IN_BYTES,
OUT_BYTES,
TFE_STAT_MAX
};
struct tfe_stats
{
long long value[TFE_STAT_MAX];
void * fs_handle;
int fs_ids[TFE_STAT_MAX];
};