home *** CD-ROM | disk | FTP | other *** search
- /********************************************************copyrite.xic***/
- /* */
- /* Licensed Materials - Property of IBM */
- /* */
- /* This product contains "Restricted Materials of IBM": */
- /* Program Number: 5798RXW */
- /* Program Name: IBM TCP/IP Version 1.2 for OS/2 */
- /* (C) Copyright IBM Corporation. 1990, 1991. */
- /* */
- /* All rights reserved. */
- /* */
- /* US Government Users Restricted Rights - */
- /* Use, duplication or disclosure restricted by GSA ADP Schedule */
- /* Contract with IBM Corp. */
- /* */
- /* See IBM Copyright Instructions. */
- /* */
- /********************************************************copyrite.xic***/
- #ifndef __32BIT__
- #define _Seg16
- #define _Far16
- #define _Cdecl
- #else
- #define ftperrno _ftperrno
- #endif
- #define T_ASCII 1
- #define T_EBCDIC 2
- #define T_BINARY 3
-
- extern short ftperrno;
- #define FTPSERVICE 1 /* ftp: ftp/tcp: unknown service */
- #define FTPHOST 2 /* unknown host */
- #define FTPSOCKET 3 /* unable to obtain socket */
- #define FTPCONNECT 4 /* unable to connect to server */
- #define FTPLOGIN 5 /* login failed */
- #define FTPABORT 6 /* transfer aborted */
- #define FTPLOCALFILE 7 /* problem openning local file */
- #define FTPDATACONN 8 /* problem initializing data connection */
- #define FTPCOMMAND 9 /* command failed */
- #define FTPPROXYTHIRD 10 /* proxy server does not support third party transfers */
- #define FTPNOPRIMARY 11 /* No primary connection for proxy transfer */
-
- /* ping error codes */
- #define PINGREPLY -1 /* host does not reply */
- #define PINGSOCKET -3 /* unable to obtain socket */
- #define PINGPROTO -4 /* unknown protcol ICMP */
- #define PINGSEND -5 /* send failed */
- #define PINGRECV -6 /* recv failed */
- #define PINGHOST -7 /* unable to resolfe host given in ftpping() */
- /* Added - Kristy Smith 06/91 */
-
- short _Far16 _Cdecl ping(unsigned long, short) ; /* correction - kks 04/01/91 */
- void _Far16 _Cdecl ftplogoff(void); /* correction - kks 04/01/91 */
- short _Far16 _Cdecl ftpget(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl ftpput(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl ftpappend(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl ftpputunique(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl ftpcd(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpmkd(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftprmd(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpdelete(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftprename(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpls(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpdir(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpproxy(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl ftpsite(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftpquote(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 );
- short _Far16 _Cdecl ftppwd(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char* _Seg16 , short); /* Added - Kristy Smith 04/91 */
- short _Far16 _Cdecl ftpsys(char * _Seg16 , char * _Seg16 , char * _Seg16 , char * _Seg16 , char* _Seg16 , short); /* Added - Kristy Smtih 04/91 */
- short _Far16 _Cdecl ftpping(char * _Seg16 , short, unsigned long * _Seg16 ); /* Added - Kristy Smith 06/91 */