options.h
来自「从国外网站上下载的关于 逆向工程和协议分析练习 的一个分析文档 对你的加密与解密」· C头文件 代码 · 共 33 行
H
33 行
/*
* 全局数据定义
*/
#ifndef __SOCK_OPTIONS_H__
#define __SOCK_OPTIONS_H__
struct options
{
const char *my_ip;
const char *server_ip;
const char *username;
const char *password;
const char *services;
const char *version;
char *session;
int sesslen;
unsigned short my_port;
unsigned short server_port;
unsigned char my_mac[6];
int recv_timeout;
int console;
int login_wait;
int ping_wait;
};
extern struct options g_options;
extern int options_init(void);
extern int options_exit(void);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?