summaryrefslogtreecommitdiffstats
path: root/lib/libftpio/ftpio.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-04 00:55:21 +0000
committerjkh <jkh@FreeBSD.org>1996-07-04 00:55:21 +0000
commite22f27ac866407213e0511e4d9ffbfc6983f222d (patch)
treeffcc145589ccdbd651b4ea9412341d46a8b6e67b /lib/libftpio/ftpio.h
parent9a167a10a823308fa0d5701ce0f5c93b2343440e (diff)
downloadFreeBSD-src-e22f27ac866407213e0511e4d9ffbfc6983f222d.zip
FreeBSD-src-e22f27ac866407213e0511e4d9ffbfc6983f222d.tar.gz
Implement an ftpVerbose() hook.
Submitted by: jmz
Diffstat (limited to 'lib/libftpio/ftpio.h')
-rw-r--r--lib/libftpio/ftpio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.h b/lib/libftpio/ftpio.h
index 47136b5..c6bb3d7 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: ftpio.h,v 1.3 1996/06/22 21:43:56 jkh Exp $
+ * $Id: ftpio.h,v 1.4 1996/06/26 20:31:11 gpalmer Exp $
*/
/* Internal housekeeping data structure for FTP sessions */
@@ -33,6 +33,7 @@ typedef struct {
int errno;
int is_binary;
int is_passive;
+ int is_verbose;
} *FTP_t;
/* Exported routines - deal only with FILE* type */
@@ -45,6 +46,7 @@ extern FILE *ftpPut(FILE *fp, char *file);
extern int ftpAscii(FILE *fp);
extern int ftpBinary(FILE *fp);
extern int ftpPassive(FILE *fp, int status);
+extern void ftpVerbose(FILE *fp, int status);
extern FILE *ftpGetURL(char *url, char *user, char *passwd);
extern FILE *ftpPutURL(char *url, char *user, char *passwd);
extern time_t ftpGetModtime(FILE *fp, char *s);
OpenPOWER on IntegriCloud