summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/path.h b/src/path.h
index aa61c44..c3d3158 100644
--- a/src/path.h
+++ b/src/path.h
@@ -9,6 +9,7 @@
#include <pool.h>
#include <atomic.h>
#include <ssh.h>
+#include <bwlimit.h>
struct path {
char *path; /* file path */
@@ -66,6 +67,7 @@ void free_path(struct path *p);
/* copy a chunk. either src_sftp or dst_sftp is not null, and another is null */
int copy_chunk(struct chunk *c, sftp_session src_sftp, sftp_session dst_sftp,
- int nr_ahead, int buf_sz, bool preserve_ts, size_t *counter);
+ int nr_ahead, int buf_sz, bool preserve_ts, struct bwlimit *bw,
+ size_t *counter);
#endif /* _PATH_H_ */