HTFTP.h
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:1k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. /*                                                                                 FTP Access
  2.                                    FTP ACCESS FUNCTIONS
  3.                                              
  4.  */
  5. /*
  6. **      (c) COPYRIGHT MIT 1995.
  7. **      Please first read the full copyright statement in the file COPYRIGH.
  8. */
  9. /*
  10.    This is the FTP load module that handles all communication with FTP-servers.
  11.    
  12.    This module is implemented by HTFTP.c, and it is a part of the W3C Reference Library.
  13.    
  14.  */
  15. #ifndef HTFTP_H
  16. #define HTFTP_H
  17. #include "HTEvntrg.h"
  18. extern HTEventCallback HTLoadFTP;
  19. typedef enum _FTPServerType {
  20.     FTP_GENERIC         = 0x1,
  21.     FTP_MACHTEN         = 0x2,
  22.     FTP_UNIX            = 0x4,
  23.     FTP_VMS             = 0x8,
  24.     FTP_CMS             = 0x10,
  25.     FTP_DCTS            = 0x20,
  26.     FTP_TCPC            = 0x40,
  27.     FTP_PETER_LEWIS     = 0x80,
  28.     FTP_NCSA            = 0x200,
  29.     FTP_WINNT           = 0x400,
  30.     FTP_UNSURE          = 0x8000
  31. } FTPServerType;
  32. #define MAX_FTP_LINE    128                      /* Don't use more than this */
  33. /*
  34.  */
  35. #endif
  36. /*
  37.    end of HTFTP Module */