From bff27bf9248a549106b660d0f4c3a3ba6131bef3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 14 Sep 2017 15:04:13 +0000 Subject: [PATCH] Add nar and narinfo. --- src/include/extractor.h | 5 ++++- src/main/extractor_metatypes.c | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/include/extractor.h b/src/include/extractor.h index 9bce88c..099e13a 100644 --- a/src/include/extractor.h +++ b/src/include/extractor.h @@ -385,7 +385,10 @@ enum EXTRACTOR_MetaType EXTRACTOR_METATYPE_AUDIO_PREVIEW = 228, - EXTRACTOR_METATYPE_LAST = 229 + EXTRACTOR_METATYPE_NARINFO = 229, + EXTRACTOR_METATYPE_NAR = 230, + + EXTRACTOR_METATYPE_LAST = 231 }; /** @} */ /* end of meta data types */ diff --git a/src/main/extractor_metatypes.c b/src/main/extractor_metatypes.c index ac159d1..41d1061 100644 --- a/src/main/extractor_metatypes.c +++ b/src/main/extractor_metatypes.c @@ -550,7 +550,13 @@ static const struct MetaTypeDescription meta_type_descriptions[] = { { gettext_noop ("audio preview"), gettext_noop ("a preview of the file audio stream") }, - + + { gettext_noop ("narinfo"), + gettext_noop ("file containing information about contents of a normalized archive (nar)") }, + /* 230 */ + { gettext_noop ("nar"), + gettext_noop ("normalized archive") }, + { gettext_noop ("last"), gettext_noop ("last") } }; -- 2.14.1