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 /unrar/unrar.c | |
| parent | 01072f4baa7ae333e796800d8a17aa157fe08a4e (diff) | |
| download | tuxcmd-modules-016687cc49c811589951ebd064a86bdde1405866.tar.xz | |
Foundation of VFS capabilities
Diffstat (limited to 'unrar/unrar.c')
| -rw-r--r-- | unrar/unrar.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unrar/unrar.c b/unrar/unrar.c index ad02765..1d5a595 100644 --- a/unrar/unrar.c +++ b/unrar/unrar.c @@ -131,6 +131,7 @@ VFSNew (TVFSLogFunc log_func) return globs; } + void VFSSetCallbacks (struct TVFSGlobs *globs, TVFSAskQuestionCallback ask_question_callback, @@ -144,6 +145,7 @@ VFSSetCallbacks (struct TVFSGlobs *globs, globs->callback_data = data; } + void VFSFree (struct TVFSGlobs *globs) { @@ -152,12 +154,14 @@ VFSFree (struct TVFSGlobs *globs) g_free (globs); } + int VFSVersion () { return cVFSVersion; } + struct TVFSInfo * VFSGetInfo () { @@ -174,6 +178,14 @@ VFSGetInfo () return module_info; } + +guint32 +VFSGetCapabilities () +{ + return VFS_CAP_ARCHIVE_STREAMING; +} + + char * VFSGetArchiveExts () { |
