summaryrefslogtreecommitdiff
path: root/sftp-client.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-08 22:04:05 +1100
committerDamien Miller <djm@mindrot.org>2002-02-08 22:04:05 +1100
commit8829d3669d154dbd06f9ee2cc779f14e2af8e15f (patch)
tree06c5dc3d5c2352c1466d76512d2d9cd5e6b6513a /sftp-client.h
parente8c9ed436a23d0fdbad1881092a3f9d2e7d5f822 (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.h8
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 */
97int do_download(int, int, char *, char *, int); 97int 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 */
103int do_upload(int, int, char *, char *, int); 103int do_upload(int, int, char *, char *, int , size_t);