|
| Enum< rfsv::errs > | dir (const char *const, PlpDir &) |
| | Reads a directory on the Psion. More...
|
| |
| Enum< rfsv::errs > | dircount (const char *const, uint32_t &) |
| | Counts number of entries in a directory. More...
|
| |
| Enum< rfsv::errs > | copyFromPsion (const char *const, const char *const, void *, cpCallback_t) |
| | Copies a file from the Psion to the local machine. More...
|
| |
| Enum< rfsv::errs > | copyFromPsion (const char *from, int fd, cpCallback_t cb) |
| | Copies a file from the Psion to the local machine. More...
|
| |
| Enum< rfsv::errs > | copyToPsion (const char *const, const char *const, void *, cpCallback_t) |
| | Copies a file from local machine to the Psion. More...
|
| |
| Enum< rfsv::errs > | copyOnPsion (const char *const, const char *const, void *, cpCallback_t) |
| | Copies a file from the Psion to the Psion. More...
|
| |
| Enum< rfsv::errs > | pathtest (const char *const) |
| | Checks to see if the directory component of a path or file name exists and is valid. More...
|
| |
| Enum< rfsv::errs > | mkdir (const char *const) |
| | Creates a directory on the Psion. More...
|
| |
| Enum< rfsv::errs > | rmdir (const char *const) |
| | Removes a directory on the Psion. More...
|
| |
| Enum< rfsv::errs > | remove (const char *const) |
| | Removes a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | rename (const char *const, const char *const) |
| | Renames a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | mktemp (uint32_t &, std::string &) |
| | Creates a unique temporary file. More...
|
| |
| Enum< rfsv::errs > | fgeteattr (const char *const, PlpDirent &) |
| | Retrieves attributes, size and modification time of a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fgetattr (const char *const, uint32_t &) |
| | Retrieves attributes of a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fsetattr (const char *const, const uint32_t, const uint32_t) |
| |
| Enum< rfsv::errs > | fgetmtime (const char *const, PsiTime &) |
| | Retrieves the modification time of a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fsetmtime (const char *const, PsiTime const) |
| | Sets the modification time of a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fopen (const uint32_t, const char *const, uint32_t &) |
| | Opens a file. More...
|
| |
| Enum< rfsv::errs > | fcreatefile (const uint32_t, const char *const, uint32_t &) |
| | Creates a named file. More...
|
| |
| Enum< rfsv::errs > | freplacefile (const uint32_t, const char *const, uint32_t &) |
| | Creates an named file, overwriting an existing file. More...
|
| |
| Enum< rfsv::errs > | fseek (const uint32_t, const int32_t, const uint32_t, uint32_t &) |
| | Sets the current file position of a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fread (const uint32_t, unsigned char *const, const uint32_t, uint32_t &) |
| | Reads from a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fwrite (const uint32_t, const unsigned char *const, const uint32_t, uint32_t &) |
| | Write to a file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fsetsize (uint32_t, uint32_t) |
| | Resizes an open file on the Psion. More...
|
| |
| Enum< rfsv::errs > | fclose (const uint32_t) |
| | Close a file on the Psion whih was previously opened/created by using fopen , fcreatefile , freplacefile or mktemp . More...
|
| |
| Enum< rfsv::errs > | devlist (uint32_t &) |
| | Retrieves available drives on the Psion. More...
|
| |
| Enum< rfsv::errs > | devinfo (const char, PlpDrive &) |
| | Retrieves details about a drive. More...
|
| |
| Enum< rfsv::errs > | opendir (const uint32_t, const char *const, rfsvDirhandle &) |
| | Open a directory for reading with readdir. More...
|
| |
| Enum< rfsv::errs > | readdir (rfsvDirhandle &, PlpDirent &) |
| | Read directory entries. More...
|
| |
| Enum< rfsv::errs > | closedir (rfsvDirhandle &) |
| | Close a directory, previously opened with opendir. More...
|
| |
| Enum< rfsv::errs > | setVolumeName (const char, const char *const) |
| | Set the name of a Psion Volume (Drive). More...
|
| |
| uint32_t | opMode (const uint32_t) |
| | Converts an open-mode (A combination of the PSI_O_ constants.) from generic representation to the machine-specific representation. More...
|
| |
| int | getProtocolVersion () |
| | Retrieves the protocol version. More...
|
| |
| virtual | ~rfsv () |
| |
| void | reset () |
| |
| void | reconnect () |
| |
| Enum< errs > | getStatus () |
| | Retrieves the current connection status. More...
|
| |
| virtual Enum< errs > | fopen (const uint32_t attr, const char *const name, uint32_t &handle)=0 |
| | Opens a file. More...
|
| |
| virtual Enum< errs > | mktemp (uint32_t &handle, std::string &name)=0 |
| | Creates a unique temporary file. More...
|
| |
| virtual Enum< errs > | fcreatefile (const uint32_t attr, const char *const name, uint32_t &handle)=0 |
| | Creates a named file. More...
|
| |
| virtual Enum< errs > | freplacefile (const uint32_t attr, const char *const name, uint32_t &handle)=0 |
| | Creates an named file, overwriting an existing file. More...
|
| |
| virtual Enum< errs > | fclose (const uint32_t handle)=0 |
| | Close a file on the Psion whih was previously opened/created by using fopen , fcreatefile , freplacefile or mktemp . More...
|
| |
| virtual Enum< errs > | dir (const char *const name, PlpDir &ret)=0 |
| | Reads a directory on the Psion. More...
|
| |
| virtual Enum< errs > | fgetmtime (const char *const name, PsiTime &mtime)=0 |
| | Retrieves the modification time of a file on the Psion. More...
|
| |
| virtual Enum< errs > | fsetmtime (const char *const name, const PsiTime mtime)=0 |
| | Sets the modification time of a file on the Psion. More...
|
| |
| virtual Enum< errs > | fgetattr (const char *const name, uint32_t &attr)=0 |
| | Retrieves attributes of a file on the Psion. More...
|
| |
| virtual Enum< errs > | pathtest (const char *const name)=0 |
| | Checks to see if the directory component of a path or file name exists and is valid. More...
|
| |
| virtual Enum< errs > | fgeteattr (const char *const name, PlpDirent &e)=0 |
| | Retrieves attributes, size and modification time of a file on the Psion. More...
|
| |
| virtual Enum< errs > | fsetattr (const char *const name, const uint32_t seta, const uint32_t unseta)=0 |
| |
| virtual Enum< errs > | dircount (const char *const name, uint32_t &count)=0 |
| | Counts number of entries in a directory. More...
|
| |
| virtual Enum< errs > | devlist (uint32_t &devbits)=0 |
| | Retrieves available drives on the Psion. More...
|
| |
| virtual Enum< errs > | devinfo (const char drive, PlpDrive &dinfo)=0 |
| | Retrieves details about a drive. More...
|
| |
| virtual Enum< errs > | fread (const uint32_t handle, unsigned char *const buffer, const uint32_t len, uint32_t &count)=0 |
| | Reads from a file on the Psion. More...
|
| |
| virtual Enum< errs > | fwrite (const uint32_t handle, const unsigned char *const buffer, const uint32_t len, uint32_t &count)=0 |
| | Write to a file on the Psion. More...
|
| |
| 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. More...
|
| |
| virtual Enum< rfsv::errs > | copyFromPsion (const char *from, int fd, cpCallback_t cb)=0 |
| | Copies a file from the Psion to the local machine. More...
|
| |
| virtual Enum< errs > | copyToPsion (const char *const from, const char *const to, void *, cpCallback_t func)=0 |
| | Copies a file from local machine to the Psion. More...
|
| |
| virtual Enum< errs > | copyOnPsion (const char *const from, const char *const to, void *, cpCallback_t func)=0 |
| | Copies a file from the Psion to the Psion. More...
|
| |
| virtual Enum< errs > | fsetsize (const uint32_t handle, const uint32_t size)=0 |
| | Resizes an open file on the Psion. More...
|
| |
| virtual Enum< errs > | fseek (const uint32_t handle, const int32_t offset, const uint32_t mode, uint32_t &resultpos)=0 |
| | Sets the current file position of a file on the Psion. More...
|
| |
| virtual Enum< errs > | mkdir (const char *const name)=0 |
| | Creates a directory on the Psion. More...
|
| |
| virtual Enum< errs > | rmdir (const char *const name)=0 |
| | Removes a directory on the Psion. More...
|
| |
| virtual Enum< errs > | rename (const char *const oldname, const char *const newname)=0 |
| | Renames a file on the Psion. More...
|
| |
| virtual Enum< errs > | remove (const char *const name)=0 |
| | Removes a file on the Psion. More...
|
| |
| virtual Enum< errs > | opendir (const uint32_t attr, const char *const name, rfsvDirhandle &handle)=0 |
| | Open a directory for reading with readdir. More...
|
| |
| virtual Enum< errs > | readdir (rfsvDirhandle &handle, PlpDirent &entry)=0 |
| | Read directory entries. More...
|
| |
| virtual Enum< errs > | closedir (rfsvDirhandle &handle)=0 |
| | Close a directory, previously opened with opendir. More...
|
| |
| virtual Enum< errs > | setVolumeName (const char drive, const char *const name)=0 |
| | Set the name of a Psion Volume (Drive). More...
|
| |
| std::string | attr2String (const uint32_t attr) |
| | Converts a file attribute rfsv::file_attribs to human readable format, usable for showing them in directory listings. More...
|
| |
| virtual uint32_t | opMode (const uint32_t mode)=0 |
| | Converts an open-mode (A combination of the PSI_O_ constants.) from generic representation to the machine-specific representation. More...
|
| |
| int | getSpeed () |
| | Retrieve speed of serial link. More...
|
| |
| virtual int | getProtocolVersion ()=0 |
| | Retrieves the protocol version. More...
|
| |
This is the implementation of the rfsv protocol for Psion series 5 (EPOC) variant.
You normally never create objects of this class directly. Thus the constructor is private. Use rfsvfactory for creating an instance of rfsv . For a complete documentation, see rfsv .
Definition at line 37 of file rfsv32.h.