summaryrefslogtreecommitdiffstats
path: root/lib/libftpio/ftpio.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-17 15:28:08 +0000
committerjkh <jkh@FreeBSD.org>1996-06-17 15:28:08 +0000
commit22927eddbd6fe69c5cd066c37dfb5a1a074d47c6 (patch)
tree3184fbc957ff0a5fb13fb92211881f5bde510a92 /lib/libftpio/ftpio.h
parent62c6661fc4edcf76b19a0b91959ef508f3e5b352 (diff)
downloadFreeBSD-src-22927eddbd6fe69c5cd066c37dfb5a1a074d47c6.zip
FreeBSD-src-22927eddbd6fe69c5cd066c37dfb5a1a074d47c6.tar.gz
Rethink and reimpliment the way RESTARTS are handled. The method I inheirited
from jmz was a hopeless kludge (sorry Jean-Marc :) and handled the problem in the wrong way. ftpRestart() has now gone away and ftpGet() has grown a new parameter.
Diffstat (limited to 'lib/libftpio/ftpio.h')
-rw-r--r--lib/libftpio/ftpio.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libftpio/ftpio.h b/lib/libftpio/ftpio.h
index fc24ad7..40e2429 100644
--- a/lib/libftpio/ftpio.h
+++ b/lib/libftpio/ftpio.h
@@ -20,7 +20,7 @@
* Turned inside out. Now returns xfers as new file ids, not as a special
* `state' of FTP_t
*
- * $Id$
+ * $Id: ftpio.h,v 1.1.1.1 1996/06/17 12:26:06 jkh Exp $
*/
/* Internal housekeeping data structure for FTP sessions */
@@ -33,7 +33,6 @@ typedef struct {
char *host;
char *file;
int errno;
- int seek;
} *FTP_t;
/* Exported routines - deal only with FILE* type */
@@ -41,11 +40,10 @@ extern FILE *ftpLogin(char *host, char *user, char *passwd, int port);
extern int ftpChdir(FILE *fp, char *dir);
extern int ftpErrno(FILE *fp);
extern size_t ftpGetSize(FILE *fp, char *file);
-extern FILE *ftpGet(FILE *fp, char *file);
+extern FILE *ftpGet(FILE *fp, char *file, int *seekto);
extern FILE *ftpPut(FILE *fp, char *file);
extern int ftpBinary(FILE *fp, int status);
extern int ftpPassive(FILE *fp, int status);
-extern int ftpRestart(FILE *fp, int where);
extern FILE *ftpGetURL(char *url, char *user, char *passwd);
extern FILE *ftpPutURL(char *url, char *user, char *passwd);
extern time_t ftpModtime(FILE *fp, char *s);
OpenPOWER on IntegriCloud