summaryrefslogtreecommitdiff
path: root/src/fr-command-rar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-rar.h')
-rw-r--r--src/fr-command-rar.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/fr-command-rar.h b/src/fr-command-rar.h
index eaafad4..ab4e12d 100644
--- a/src/fr-command-rar.h
+++ b/src/fr-command-rar.h
@@ -38,13 +38,22 @@
typedef struct _FrCommandRar FrCommandRar;
typedef struct _FrCommandRarClass FrCommandRarClass;
+typedef enum
+{
+ FR_COMMAND_RAR_TYPE_RAR4 = 1<<0,
+ FR_COMMAND_RAR_TYPE_RAR5 = 1<<1,
+ FR_COMMAND_RAR_TYPE_UNRAR_FREE = 1<<2,
+ /* RAR5 + empty CRC for directories */
+ FR_COMMAND_RAR_TYPE_RAR7 = (1<<3) | FR_COMMAND_RAR_TYPE_RAR5,
+} FrCommandRarType;
+
struct _FrCommandRar
{
FrCommand __parent;
gboolean list_started;
gboolean rar4_odd_line;
- gboolean rar5;
+ FrCommandRarType output_type;
FileData *fdata;
};