home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / tcpip / amitcp-support / ncftp-1.5.6 / src / rcs / ftp.h,v < prev    next >
Encoding:
Text File  |  1994-06-29  |  2.2 KB  |  115 lines

  1. head    14020.12;
  2. access;
  3. symbols
  4.     ORIGINAL:14020.11;
  5. locks; strict;
  6. comment    @ * @;
  7.  
  8.  
  9. 14020.12
  10. date    93.10.10.20.03.06;    author alph;    state Exp;
  11. branches;
  12. next    14020.11;
  13.  
  14. 14020.11
  15. date    93.07.09.11.04.12;    author alph;    state Exp;
  16. branches;
  17. next    ;
  18.  
  19.  
  20. desc
  21. @Original version
  22. @
  23.  
  24.  
  25. 14020.12
  26. log
  27. @amigados changes
  28. @
  29. text
  30. @/* ftp.h */
  31.  
  32. #ifndef _ftp_h_
  33. #define _ftp_h_
  34.  
  35. /*  $RCSfile: ftp.h,v $
  36.  *  $Revision: 1.1 $
  37.  *  $Date: 1993/10/02 10:34:34 $
  38.  */
  39.  
  40. #define IS_FILE 1
  41. #define IS_STREAM 0
  42. #define IS_PIPE -1
  43.  
  44. /* Progress-meter types. */
  45. #define pr_none 0
  46. #define pr_percent 1
  47. #define pr_philbar 2
  48. #define pr_kbytes 3
  49. #define pr_dots 4
  50. #define pr_last pr_dots
  51.  
  52. /* Values sent to CommandWithFlags() to determine whether to read a reply
  53.  * from the remote host after sending the command.
  54.  */
  55. #define DONT_WAIT_FOR_REPLY 0
  56. #define WAIT_FOR_REPLY 1
  57.  
  58. /* Expect EOF values for getreply() */
  59. #define DONT_EXPECT_EOF        0
  60. #define EXPECT_EOF            1
  61.  
  62. #ifdef NEED_TIME_T
  63. #include <time.h>
  64. #endif
  65.  
  66. int hookup(char *, unsigned int);
  67. int Login(char *userNamePtr, char *passWordPtr, char *accountPtr, int doInit);
  68. void cmdabort SIG_PARAMS;
  69. int CommandWithFlags(char *, int);
  70. int command(char *);
  71. int command_noreply(char *);
  72. int quiet_command(char *);
  73. int verbose_command(char *);
  74. int getreply(int);
  75. int start_progress(int, char *);
  76. int progress_report(int);
  77. void end_progress(char *, char *, char *);
  78. void close_file(FILE **, int);
  79. void abortsend SIG_PARAMS;
  80. int sendrequest(char *, char *, char *);
  81. void abortrecv SIG_PARAMS;
  82. void GetLSRemoteDir(char *, char *);
  83. int AdjustLocalFileName(char *);
  84. int SetToAsciiForLS(int, int);
  85. int IssueCommand(char *, char *);
  86. FILE *OpenOutputFile(int, char *, char *, Sig_t *);
  87. void ReceiveBinary(FILE *, FILE *, int *, char *);
  88. void AddRedirLine(char *);
  89. void ReceiveAscii(FILE *, FILE *, int *, char *, int);
  90. void CloseOutputFile(FILE *, int, char *, time_t);
  91. void ResetOldType(int);
  92. int FileType(char *);
  93. void CloseData(void);
  94. int recvrequest(char *, char *, char *, char *);
  95. int initconn(void);
  96. FILE *dataconn(char *);
  97.  
  98. #endif /* _ftp_h_ */
  99.  
  100. /* eof ftp.h */
  101. @
  102.  
  103.  
  104. 14020.11
  105. log
  106. @checked in with -k by alph at 1993/10/10 19:59:56
  107. @
  108. text
  109. @d7 2
  110. a8 2
  111.  *  $Revision: 14020.11 $
  112.  *  $Date: 93/07/09 11:04:12 $
  113. d32 4
  114. @
  115.