summaryrefslogtreecommitdiff
path: root/src/import/import-job.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/import-job.h')
-rw-r--r--src/import/import-job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/import/import-job.h b/src/import/import-job.h
index a9b58e6339..b10b0ec0d9 100644
--- a/src/import/import-job.h
+++ b/src/import/import-job.h
@@ -23,6 +23,7 @@
#include <lzma.h>
#include <zlib.h>
+#include <bzlib.h>
#include <gcrypt.h>
#include "macro.h"
@@ -49,6 +50,7 @@ typedef enum ImportJobCompression {
IMPORT_JOB_UNCOMPRESSED,
IMPORT_JOB_XZ,
IMPORT_JOB_GZIP,
+ IMPORT_JOB_BZIP2,
_IMPORT_JOB_COMPRESSION_MAX,
_IMPORT_JOB_COMPRESSION_INVALID = -1,
} ImportJobCompression;
@@ -89,6 +91,7 @@ struct ImportJob {
ImportJobCompression compressed;
lzma_stream xz;
z_stream gzip;
+ bz_stream bzip2;
unsigned progress_percent;
usec_t start_usec;