summaryrefslogtreecommitdiff
path: root/vfs/uVFSprototypes.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 16:48:37 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 16:48:37 +0200
commita55a55d43d949b2b33aa0337aa2695d838e6a875 (patch)
treecb68de3707642076a04c358ed71b67757502c25f /vfs/uVFSprototypes.pas
parent63cba0c9834d3b0b6bf6295d165cffbecd315f23 (diff)
downloadtuxcmd-a55a55d43d949b2b33aa0337aa2695d838e6a875.tar.xz
Show only networking plugins where appropriate
Also rename VFSGetExts and VFSGetServices functions
Diffstat (limited to 'vfs/uVFSprototypes.pas')
-rw-r--r--vfs/uVFSprototypes.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas
index d236d01..2de5ec4 100644
--- a/vfs/uVFSprototypes.pas
+++ b/vfs/uVFSprototypes.pas
@@ -203,14 +203,14 @@ type
TVFSGetCharset = function (g:TVFSGlobs): PChar; cdecl;
// TODO: Returns charset which the plugin uses
// tuxcmd will take care of memory deallocation
- TVFSGetExts = function: PChar; cdecl;
+ TVFSGetArchiveExts = function: PChar; cdecl;
// Returns the list of filename extensions which the module can handle separated by ';' (without a leading dots)
+ // Returning NULL or not defining the symbol at all means plugin can't handle archives
// tuxcmd will take care of memory deallocation
- TVFSGetServices = function: PChar; cdecl;
+ TVFSGetNetworkServices = function: PChar; cdecl;
// Returns the list of supported remote protocols separated by ';' (without the '://')
+ // Returning NULL or not defining the symbol at all means plugin can't access network services
// tuxcmd will take care of memory deallocation
- TVFSCaps = function (const sExt: PChar): Integer; cdecl;
- // TODO: Returns a bit mask of plugin capabilities
TVFSSetProtocolLogFunc = procedure (g:TVFSGlobs; ProtocolLogFunc: TVFSLogFunc); cdecl;
// TODO: Sets the protocol log function (unlike module debug log func this is intended only for server messages (FTP mainly))
TVFSSetBlockSize = procedure (g:TVFSGlobs; Value: Cardinal); cdecl;