diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-08 22:04:05 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-08 22:04:05 +1100 |
commit | 8829d3669d154dbd06f9ee2cc779f14e2af8e15f (patch) | |
tree | 06c5dc3d5c2352c1466d76512d2d9cd5e6b6513a /sftp-client.h | |
parent | e8c9ed436a23d0fdbad1881092a3f9d2e7d5f822 (diff) |
- djm@cvs.openbsd.org 2002/02/05 00:00:46
[sftp.1 sftp.c sftp-client.c sftp-client.h sftp-int.c]
Add "-B" option to specify copy buffer length (default 32k); ok markus@
Diffstat (limited to 'sftp-client.h')
-rw-r--r-- | sftp-client.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-client.h b/sftp-client.h index a322b2571..20350701c 100644 --- a/sftp-client.h +++ b/sftp-client.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* $OpenBSD: sftp-client.h,v 1.6 2001/06/26 06:33:01 itojun Exp $ */ | 1 | /* $OpenBSD: sftp-client.h,v 1.7 2002/02/05 00:00:46 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2001-2002 Damien Miller. All rights reserved. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | 7 | * modification, are permitted provided that the following conditions |
@@ -94,10 +94,10 @@ char *do_readlink(int, int, char *); | |||
94 | * Download 'remote_path' to 'local_path'. Preserve permissions and times | 94 | * Download 'remote_path' to 'local_path'. Preserve permissions and times |
95 | * if 'pflag' is set | 95 | * if 'pflag' is set |
96 | */ | 96 | */ |
97 | int do_download(int, int, char *, char *, int); | 97 | int do_download(int, int, char *, char *, int, size_t); |
98 | 98 | ||
99 | /* | 99 | /* |
100 | * Upload 'local_path' to 'remote_path'. Preserve permissions and times | 100 | * Upload 'local_path' to 'remote_path'. Preserve permissions and times |
101 | * if 'pflag' is set | 101 | * if 'pflag' is set |
102 | */ | 102 | */ |
103 | int do_upload(int, int, char *, char *, int); | 103 | int do_upload(int, int, char *, char *, int , size_t); |