summaryrefslogtreecommitdiff
path: root/vfs/uVFSprototypes.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-29 16:29:03 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-29 16:29:03 +0100
commit959269c4432632e9228a5fa148eed2255e508554 (patch)
tree090517465da49e84c7b3ec117f88d52ccd903107 /vfs/uVFSprototypes.pas
parent9883e3b4eec8e457b49cb70ca006f5f7601332da (diff)
downloadtuxcmd-959269c4432632e9228a5fa148eed2255e508554.tar.xz
Introduce copy operation start/stop callsv0.6.73
This is the first step for a rapid extraction speed increase as we don't need to open&seek for every file. Sorting by inode is still need to be written but most archives work fine as they are. TODO: writing into the archive needs special care (see TODO in zip plugin)
Diffstat (limited to 'vfs/uVFSprototypes.pas')
-rw-r--r--vfs/uVFSprototypes.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas
index bef0246..bd33726 100644
--- a/vfs/uVFSprototypes.pas
+++ b/vfs/uVFSprototypes.pas
@@ -238,6 +238,10 @@ type
TVFSCopyToLocal = function (g:TVFSGlobs; const sSrcName, sDstName: PChar; Append: gboolean): TVFSResult; cdecl;
// Performs the copy process from local filesystem into the module
TVFSCopyFromLocal = function (g:TVFSGlobs; const sSrcName, sDstName: PChar; Append: gboolean): TVFSResult; cdecl;
+ // Start the copy operation - open the archive and prepare internal structures
+ TVFSStartCopyOperation = function (g:TVFSGlobs): TVFSResult; cdecl;
+ // Stop the copy operation - close the archive and free memory
+ TVFSStopCopyOperation = function (g:TVFSGlobs): TVFSResult; cdecl;
// TODO: Prototype function for packing new files into archive