From 0f623548115340cf5f2d39abf9098bf27b822b68 Mon Sep 17 00:00:00 2001
From: Daniel Brahneborg <basic@chello.se>
Date: Fri, 8 Mar 2002 19:42:40 +0000
Subject: Added copyFromPsion() that takes a 'to' argument that is a file
 descriptor, to be able to use mkstemp().

---
 lib/rfsv.h | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'lib/rfsv.h')

diff --git a/lib/rfsv.h b/lib/rfsv.h
index 58c82cb..2a445ef 100644
--- a/lib/rfsv.h
+++ b/lib/rfsv.h
@@ -412,6 +412,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.
     *
-- 
cgit v1.2.3