summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/CopyJob.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/CopyJob.h b/include/CopyJob.h
index 8e4135c..7284b24 100644
--- a/include/CopyJob.h
+++ b/include/CopyJob.h
@@ -1,6 +1,7 @@
#ifndef __COPYJOB_H__
#define __COPYJOB_H__
+#include <sys/time.h>
#include <Task.h>
#include <Handle.h>
@@ -8,7 +9,7 @@
class CopyJob : public Task {
public:
- CopyJob(Handle *, Handle *, ssize_t = -1, bool = false, bool = false);
+ CopyJob(Handle *, Handle *, ssize_t = -1, bool = false, bool = false, int = -1);
virtual ~CopyJob();
virtual int Do() throw (GeneralException);
virtual String GetName();
@@ -18,7 +19,8 @@ class CopyJob : public Task {
bool ds, dd;
ssize_t siz, cursiz;
char buffer[COPY_BUFSIZ + 1];
- int r, w, tw;
+ int r, w, tw, shape;
+ struct timeval start;
};
#endif