#ifndef	_FTP_H
#define	_FTP_H

/* Definitions common to both FTP servers and clients */
#define	BLKSIZE	4096	/* Chunk size for file I/O */
			/* Was too small for 9600 baud transfers - iw0cnb */

#define	ASCII_TYPE	0
#define	IMAGE_TYPE	1
#define	LOGICAL_TYPE	2

/* In ftpsubr.c: */
long sendfile __ARGS((FILE *fp,int s,int mode,int hash));
long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
int isbinary __ARGS((FILE *fp));
unsigned long getsize __ARGS((FILE *fp));
unsigned long checksum __ARGS((FILE *fp, long n));
#endif	/* _FTP_H */
