summaryrefslogtreecommitdiff
path: root/unrar/unrar.c
diff options
context:
space:
mode:
Diffstat (limited to 'unrar/unrar.c')
-rw-r--r--unrar/unrar.c12
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 ()
{