home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / s920603.zip / FTP.H < prev    next >
C/C++ Source or Header  |  1992-05-01  |  428b  |  17 lines

  1. #ifndef    _FTP_H
  2. #define    _FTP_H
  3.  
  4. /* Definitions common to both FTP servers and clients */
  5. #define    BLKSIZE    2048    /* Chunk size for file I/O */
  6.  
  7. #define    ASCII_TYPE    0
  8. #define    IMAGE_TYPE    1
  9. #define    LOGICAL_TYPE    2
  10.  
  11. /* In ftpsubr.c: */
  12. long sendfile __ARGS((FILE *fp,FILE *network,int mode,int hash));
  13. long recvfile __ARGS((FILE *fp,FILE *network,int mode,int hash));
  14. int isbinary __ARGS((FILE *fp));
  15.  
  16. #endif    /* _FTP_H */
  17.