summaryrefslogtreecommitdiff
path: root/sftp-client.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-07-25 11:56:52 +1000
committerDamien Miller <djm@mindrot.org>2013-07-25 11:56:52 +1000
commit0d032419ee6e1968fc1cb187af63bf3b77b506ea (patch)
treece2788365040e9ea188bd60c8bec87d410814017 /sftp-client.h
parent98e27dcf581647b5bbe9780e8f59685d942d8ea3 (diff)
- djm@cvs.openbsd.org 2013/07/25 00:56:52
[sftp-client.c sftp-client.h sftp.1 sftp.c] sftp support for resuming partial downloads; patch mostly by Loganaden Velvindron/AfriNIC with some tweaks by me; feedback and ok dtucker@
Diffstat (limited to 'sftp-client.h')
-rw-r--r--sftp-client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-client.h b/sftp-client.h
index aef54ef49..111a998c8 100644
--- a/sftp-client.h
+++ b/sftp-client.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-client.h,v 1.20 2010/12/04 00:18:01 djm Exp $ */ 1/* $OpenBSD: sftp-client.h,v 1.21 2013/07/25 00:56:51 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 4 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
@@ -106,13 +106,13 @@ int do_symlink(struct sftp_conn *, char *, char *);
106 * Download 'remote_path' to 'local_path'. Preserve permissions and times 106 * Download 'remote_path' to 'local_path'. Preserve permissions and times
107 * if 'pflag' is set 107 * if 'pflag' is set
108 */ 108 */
109int do_download(struct sftp_conn *, char *, char *, Attrib *, int); 109int do_download(struct sftp_conn *, char *, char *, Attrib *, int, int);
110 110
111/* 111/*
112 * Recursively download 'remote_directory' to 'local_directory'. Preserve 112 * Recursively download 'remote_directory' to 'local_directory'. Preserve
113 * times if 'pflag' is set 113 * times if 'pflag' is set
114 */ 114 */
115int download_dir(struct sftp_conn *, char *, char *, Attrib *, int, int); 115int download_dir(struct sftp_conn *, char *, char *, Attrib *, int, int, int);
116 116
117/* 117/*
118 * Upload 'local_path' to 'remote_path'. Preserve permissions and times 118 * Upload 'local_path' to 'remote_path'. Preserve permissions and times