home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / src_1218.zip / FTP.H < prev    next >
C/C++ Source or Header  |  1990-09-02  |  412b  |  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,int s,int mode,int hash));
  13. long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
  14. int isbinary __ARGS((FILE *fp));
  15.  
  16. #endif    /* _FTP_H */
  17.