📄 datatodb.h
字号:
#if !defined(AFX_DATATOBA_H__61CA7953_D769_4299_8C45_62UJK9102A__INCLUDED_)
#define AFX_DATATOBA_H__61CA7953_D769_4299_8C45_62UJK9102A__INCLUDED_
// DataToDB.h: interface and implementation of the DataToDB class.
// Funtion: for insert data recevied to tha DataBase
/////////////////////////////////////////////////////////////////////////////////
#include "ccams.h"
#include "SetClient.h"
#include "SetCPU.h"
#include "SetFile.h"
#include "SetMail.h"
#include "SetNet.h"
#include "SetProc.h"
class DataToDB
{
public:
static bool AddClientData( LPCTSTR ip );
static bool AddCpuData( LPCTSTR client, LPCTSTR time, int usage );
static bool AddFileData( LPCTSTR client, LPCTSTR time,
LPCTSTR action, LPCTSTR path );
static bool AddMailData( LPCTSTR client, LPCTSTR time, LPCTSTR subject,
LPCTSTR sender, LPCTSTR recipient, LPCTSTR attach);
static bool AddNetData( LPCTSTR client, LPCTSTR time, int repeat,
LPCTSTR direction, LPCTSTR protocol, int tcpflag,
LPCTSTR address, int port, int size );
static bool AddNProcData( LPCTSTR client, LPCTSTR time,
LPCTSTR action, LPCTSTR path );
};
#endif //!defined(AFX_DATATOBA_H__61CA7953_D769_4299_8C45_62UJK9102A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -