📄 proto.h
字号:
#ifndef __PROTO_H
#define __PROTO_H
#pragma once
#pragma warning(disable:4786) // anti-STL
#include <map>
#include <list>
#include "../data.h"
typedef struct transfdata
{
void * walkflag_ptr;
}transfdata;
typedef std::list<ParserFuncT> TParseFuncsList;
typedef std::map <WORD, TParseFuncsList > TParsersMap;
//parsers
extern TParsersMap ctt_parse_funcs;
extern TParsersMap stt_parse_funcs;
int register_parser(int dir, int where, WORD pc_id, ParserFuncT parse_func);
int proto_init(void);
void proto_finish(void);
// system
int system_on_CTT_PrePacket(ParsePoint * pp);
int system_on_CTT_WantToConnection(ParsePoint * pp);
int system_on_STT_ExtAccountId(ParsePoint * pp);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -