?? dstruct.h
字號:
//-----File Name : DStruct.h
#include <stdio.h>
#include <stdlib.h>
//==============================
//--------數(shù)據(jù)格式的宏定義------
//==============================
#define RRQ (u_short)1
#define WRQ (u_short)2
#define DAT (u_short)3
#define ACK (u_short)4
#define ERR (u_short)5
#define TRUE 1
#define FALSE 0
//數(shù)據(jù)包
struct DataBuf{
u_short pcode;
u_short block;
char buf[512];
};
struct ErrorBuf{
u_short pcode;
u_short ErrorCode;
char ErrMsg[512];
};
struct AckBuf{
u_short pcode;
u_short block;
};
struct RWRQ{
USHORT pcode;
char fileandmode[100];
// char mode[20];
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -