From 016687cc49c811589951ebd064a86bdde1405866 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 30 Nov 2009 22:55:24 +0100 Subject: Foundation of VFS capabilities --- unrar/unrar.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'unrar') 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 () { -- cgit v1.2.3