diff options
author | Daniel Brahneborg <basic@chello.se> | 2002-03-08 19:42:40 +0000 |
---|---|---|
committer | Daniel Brahneborg <basic@chello.se> | 2002-03-08 19:42:40 +0000 |
commit | 0f623548115340cf5f2d39abf9098bf27b822b68 (patch) | |
tree | 0573142130e1b73fef1a89855a3712eff1a3b78d /lib/rfsv.h | |
parent | 49f6d0f0ca26c10f3e2aa42ef491d9a60bd1a9fc (diff) | |
download | plptools-0f623548115340cf5f2d39abf9098bf27b822b68.tar.gz plptools-0f623548115340cf5f2d39abf9098bf27b822b68.tar.bz2 plptools-0f623548115340cf5f2d39abf9098bf27b822b68.zip |
Added copyFromPsion() that takes a 'to' argument that is a file
descriptor, to be able to use mkstemp().
Diffstat (limited to 'lib/rfsv.h')
-rw-r--r-- | lib/rfsv.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -413,6 +413,11 @@ public: virtual Enum<errs> copyFromPsion(const char *from, const char *to, void *, cpCallback_t func) = 0; /** + * Copies a file from the Psion to the local machine. + */ + virtual Enum<rfsv::errs> copyFromPsion(const char *from, int fd, cpCallback_t cb) = 0; + + /** * Copies a file from local machine to the Psion. * * @param from Name of the file on the local machine to be copied. |