archiveapi: archive plugin for ZIP files

This commit is contained in:
Viliam Mateicka
2008-12-16 21:46:11 +01:00
parent 98fd9b7da8
commit ddcf0a4078
4 changed files with 222 additions and 0 deletions

View File

@@ -28,10 +28,14 @@
#include <glib.h>
extern const struct archive_plugin bz2_plugin;
extern const struct archive_plugin zip_plugin;
static const struct archive_plugin *const archive_plugins[] = {
#ifdef HAVE_BZ2
&bz2_plugin,
#endif
#ifdef HAVE_ZIP
&zip_plugin,
#endif
NULL
};