#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 (FILE *fp,int s,int mode,int hash);
long recvfile (FILE *fp,int s,int mode,int hash);
int isbinary (FILE *fp);
unsigned long getsize (FILE *fp);
unsigned long checksum (FILE *fp, long n);
#endif	/* _FTP_H */
