⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftpapi.mh

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 MH
字号:
/*
 *  ftpapi.h    OS/2 FTPAPI include file for 32-bit development.
 *
:include crwatcnt.sp
 */

#ifndef __FTPAPI_H__
#define __FTPAPI_H__

:include readonly.sp
:include cpluspro.sp

#if (defined(__IBMC__) || defined(__WATCOMC__)) && !defined(TCP_NODEFLIB)
#pragma library("ftpapi.lib")
#endif

#define T_ASCII   1
#define T_EBCDIC  2
#define T_BINARY  3

#define M_OVERLAY 1
#define M_APPEND  2

#define TRCMODE   1
#define TRCOPEN   2

#define FTPSERVICE    1
#define FTPHOST       2
#define FTPSOCKET     3
#define FTPCONNECT    4
#define FTPLOGIN      5
#define FTPABORT      6
#define FTPLOCALFILE  7
#define FTPDATACONN   8
#define FTPCOMMAND    9
#define FTPPROXYTHIRD 10
#define FTPNOPRIMARY  11
#define FTPNOXLATETBL 12

#define PINGREPLY  (-1)
#define PINGSOCKET (-3)
#define PINGPROTO  (-4)
#define PINGSEND   (-5)
#define PINGRECV   (-6)
#define PINGHOST   (-7)

#define REST_GET 1
#define REST_PUT 2

#if defined(__WATCOMC__)
#pragma aux ftperrno "*";
#endif

extern int ftperrno;

int  _System ftp_errno(void);
int  _System ftpappend(char *, char *, char *, char *, char *, char *, int);
int  _System ftpcd(char *, char *, char *, char *, char *);
int  _System ftpdelete(char *, char *, char *, char *, char *);
int  _System ftpdir(char *, char *, char *, char *, char *, char *);
int  _System ftpget(char *, char *, char *, char *, char *, char *, char *, int);
int  _System ftpmkd(char *, char *, char *, char *, char *);
void _System ftplogoff(void);
int  _System ftpls(char *, char *, char *, char *, char *, char *);
int  _System ftpping(char *, int, unsigned long *);
int  _System ftpproxy(char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, int);
int  _System ftpput(char *, char *, char *, char *, char *, char *, int);
int  _System ftpputunique(char *, char *, char *, char *, char *, char *, int);
int  _System ftppwd(char *, char *, char *, char *, char *, int);
int  _System ftpquote(char *, char *, char *, char *, char *);
int  _System ftprmd(char *, char *, char *, char *, char *);
int  _System ftprename(char *, char *, char *, char *, char *, char *);
long _System ftpremsize(char *, char *, char *, char *, char *, char *, char *, int);
long _System ftprestart(char *, char *, char *, char *, char *, char *, char *, int, int);
int  _System ftpsite(char *, char *, char *, char *, char *);
int  _System ftpsys(char *, char *, char *, char *, char *, int);
int  _System ftptrcoff(void);
int  _System ftptrcon(char *, int);
int  _System ftpver(char *, int);
int  _System ftpxlate(unsigned long, char *);
int  _System keep_file_date (char*, char*);
int  _System ping(unsigned long, int);

:include cplusepi.sp

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -