home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / lynx-2.4 / WWW / Library / Implementation / HTFTP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-28  |  1.1 KB  |  56 lines

  1. /*                                                               FTP access module for libwww
  2.                                    FTP ACCESS FUNCTIONS
  3.                                              
  4.    This isn't really  a valid protocol module -- it is lumped together with HTFile . That
  5.    could be changed easily.
  6.    
  7.    Author: Tim Berners-Lee. Public Domain. Please mail changes to timbl@info.cern.ch
  8.    
  9.  */
  10. #ifndef HTFTP_H
  11. #define HTFTP_H
  12.  
  13. #ifndef HTUTILS_H
  14. #include "HTUtils.h"
  15. #endif /* HTUTILS_H */
  16. #include "HTAnchor.h"
  17. #include "HTStream.h"
  18. #include "HTParse.h"
  19.  
  20. #define FILE_BY_NAME 0 
  21. #define FILE_BY_TYPE 1
  22. #define FILE_BY_SIZE 2
  23. #define FILE_BY_DATE 3
  24. extern BOOLEAN HTfileSortMethod;  /* specifies the method of sorting */
  25.  
  26. /*
  27.  
  28. Retrieve File from Server
  29.  
  30.   ON EXIT,
  31.   
  32.   returns                 Socket number for file if good.<0 if bad.
  33.                          
  34.  */
  35. extern int HTFTPLoad PARAMS
  36. ((
  37.   CONST char *          name,
  38.   HTParentAnchor *      anchor,
  39.   HTFormat              format_out,
  40.   HTStream*             sink
  41. ));
  42.  
  43.  
  44. /*
  45.  
  46. Return Host Name
  47.  
  48.  */
  49. extern CONST char * HTHostName NOPARAMS;
  50.  
  51. #endif
  52.  
  53. /*
  54.  
  55.    end  */
  56.