diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-30 22:55:24 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-30 22:55:24 +0100 |
| commit | 016687cc49c811589951ebd064a86bdde1405866 (patch) | |
| tree | c8affce18858467be6adcc4b9816388ba557e0c0 /zip/zip.cpp | |
| parent | 01072f4baa7ae333e796800d8a17aa157fe08a4e (diff) | |
| download | tuxcmd-modules-016687cc49c811589951ebd064a86bdde1405866.tar.xz | |
Foundation of VFS capabilities
Diffstat (limited to 'zip/zip.cpp')
| -rw-r--r-- | zip/zip.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zip/zip.cpp b/zip/zip.cpp index 035b4b2..8e2e1e7 100644 --- a/zip/zip.cpp +++ b/zip/zip.cpp @@ -274,6 +274,7 @@ VFSNew (TVFSLogFunc log_func) return globs; } + void VFSSetCallbacks (struct TVFSGlobs *globs, TVFSAskQuestionCallback ask_question_callback, @@ -287,6 +288,7 @@ VFSSetCallbacks (struct TVFSGlobs *globs, globs->callback_data = data; } + void VFSFree (struct TVFSGlobs *globs) { @@ -295,12 +297,14 @@ VFSFree (struct TVFSGlobs *globs) g_free (globs); } + int VFSVersion () { return cVFSVersion; } + struct TVFSInfo * VFSGetInfo () { @@ -316,6 +320,14 @@ VFSGetInfo () return module_info; } + +guint32 +VFSGetCapabilities () +{ + return VFS_CAP_CAN_CREATE_ARCHIVES; +} + + char * VFSGetArchiveExts () { |
