75 uint32_t
opMode(
const uint32_t);
Wrapper class featuring range-checking and string representation of enumerated values.
A class, representing a directory entry of the Psion.
A class representing information about a Disk drive on the psion.
Psion time related utility class.
A class for dealing with sockets.
A generic container for an array of bytes.
This is the implementation of the rfsv protocol for Psion series 3 (SIBO) variant.
Enum< rfsv::errs > fgetattr(const char *const, uint32_t &)
Retrieves attributes of a file on the Psion.
bool sendCommand(enum commands, bufferStore &)
Enum< rfsv::errs > opendir(const uint32_t, const char *const, rfsvDirhandle &)
Open a directory for reading with readdir.
Enum< rfsv::errs > devinfo(const char, PlpDrive &)
Retrieves details about a drive.
Enum< rfsv::errs > fread(const uint32_t, unsigned char *const, const uint32_t, uint32_t &)
Reads from a file on the Psion.
Enum< rfsv::errs > pathtest(const char *const)
Checks to see if the directory component of a path or file name exists and is valid.
Enum< rfsv::errs > remove(const char *const)
Removes a file on the Psion.
Enum< rfsv::errs > fgeteattr(const char *const, PlpDirent &)
Retrieves attributes, size and modification time of a file on the Psion.
Enum< rfsv::errs > closedir(rfsvDirhandle &)
Close a directory, previously opened with opendir.
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.
uint32_t std2attr(const uint32_t)
Enum< rfsv::errs > freplacefile(const uint32_t, const char *const, uint32_t &)
Creates an named file, overwriting an existing file.
Enum< rfsv::errs > copyOnPsion(const char *, const char *, void *, cpCallback_t)
Copies a file from the Psion to the Psion.
uint32_t opMode(const uint32_t)
Converts an open-mode (A combination of the PSI_O_ constants.) from generic representation to the mac...
Enum< rfsv::errs > devlist(uint32_t &)
Retrieves available drives on the Psion.
Enum< rfsv::errs > fsetsize(const uint32_t, const uint32_t)
Resizes an open file on the Psion.
uint32_t attr2std(const uint32_t)
Enum< rfsv::errs > setVolumeName(const char, const char *const)
Set the name of a Psion Volume (Drive).
Enum< rfsv::errs > copyFromPsion(const char *const, const char *const, void *, cpCallback_t)
Copies a file from the Psion to the local machine.
int getProtocolVersion()
Retrieves the protocol version.
Enum< rfsv::errs > dircount(const char *const, uint32_t &)
Counts number of entries in a directory.
Enum< rfsv::errs > fgetmtime(const char *const, PsiTime &)
Retrieves the modification time of a file on the Psion.
Enum< rfsv::errs > dir(const char *const, PlpDir &)
Reads a directory on the Psion.
Enum< rfsv::errs > getResponse(bufferStore &)
Enum< rfsv::errs > fopendir(const char *const, uint32_t &)
Enum< rfsv::errs > mktemp(uint32_t &, std::string &)
Creates a unique temporary file.
Enum< rfsv::errs > fopen(const uint32_t, const char *const, uint32_t &)
Opens a file.
Enum< rfsv::errs > fsetattr(const char *const, const uint32_t seta, const uint32_t unseta)
Enum< rfsv::errs > fcreatefile(const uint32_t, const char *const, uint32_t &)
Creates a named file.
Enum< rfsv::errs > fsetmtime(const char *const, const PsiTime)
Sets the modification time of a file on the Psion.
Enum< rfsv::errs > rmdir(const char *const)
Removes a directory on the Psion.
Enum< rfsv::errs > readdir(rfsvDirhandle &, PlpDirent &)
Read directory entries.
Enum< rfsv::errs > fwrite(const uint32_t, const unsigned char *const, const uint32_t, uint32_t &)
Write to a file on the Psion.
Enum< rfsv::errs > fclose(const uint32_t)
Close a file on the Psion whih was previously opened/created by using fopen , fcreatefile ,...
Enum< rfsv::errs > rename(const char *const, const char *const)
Renames a file on the Psion.
Enum< rfsv::errs > mkdir(const char *const)
Creates a directory on the Psion.
Enum< rfsv::errs > copyToPsion(const char *const, const char *const, void *, cpCallback_t)
Copies a file from local machine to the Psion.
A helper class for storing intermediate internal information in rfsv16 and rfsv32 .
Access remote file services of a Psion.
A factory for automatically instantiating the correct rfsv protocol variant depending on the connecte...
int(* cpCallback_t)(void *, uint32_t)
Defines the callback procedure for progress indication of copy operations.
std::deque< class PlpDirent > PlpDir