📄 options.h
字号:
/*
* 全局数据定义
*/
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -