summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp-client.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-09-22 22:58:52 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-09-22 22:58:52 +0000
commite01a4f041309647f76bbe22c43045d5ce01021d9 (patch)
tree48a218569d4f8a5deda075078bfdd91133f4ff26 /usr.bin/ssh/sftp-client.h
parent75f70fd6054457e0eb274c7da3bbcf220ccda5ab (diff)
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism add a bandwidth limit option to sftp(1) using the above "very nice" markus@
Diffstat (limited to 'usr.bin/ssh/sftp-client.h')
-rw-r--r--usr.bin/ssh/sftp-client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-client.h b/usr.bin/ssh/sftp-client.h
index 1d08c40493b..145fc38ee11 100644
--- a/usr.bin/ssh/sftp-client.h
+++ b/usr.bin/ssh/sftp-client.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-client.h,v 1.18 2009/08/18 18:36:20 djm Exp $ */
+/* $OpenBSD: sftp-client.h,v 1.19 2010/09/22 22:58:51 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
@@ -51,7 +51,7 @@ struct sftp_statvfs {
* Initialise a SSH filexfer connection. Returns NULL on error or
* a pointer to a initialized sftp_conn struct on success.
*/
-struct sftp_conn *do_init(int, int, u_int, u_int);
+struct sftp_conn *do_init(int, int, u_int, u_int, u_int64_t);
u_int sftp_proto_version(struct sftp_conn *);