📄 ftp_dir.h
字号:
#ifndef _H_FTPFUNC_#define _H_FTPFUNC_#include <stdio.h>#include <bool.h>#include <net/libftp.h>#define NORMAL 0#define ABNORMAL 1#define ON 1#define OFF 0#define RECEIVE 0#define SEND 1typedef struct h_logininfo{ char remotehost[14+1]; /* remote host name */ char username[20+1]; /* login user name */ char passwd[8+1]; /* login user password */ char remotepath[128+1]; /* remote file name */ char localfile[64+1]; /* local file name */ char trantime[5+1]; /* login continuance time */ int trantype; /* use 'a'(ascii) or b(binary) to tran file */ int tranmode; /* send or receive file */ BOOL debug; /* show debug infomation */}LOGININFO;typedef struct h_fileinfo{ char FileName[64+1]; char FileUser[20+1]; char FileGroup[20+1]; char FilePer[10+1]; size_t FileSize;}FILEINFO;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -