libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit f376d245006575e260c76aa899d735f30816f5b7
parent ad336fdea3f13441eb38737a7ca33229d8c0c536
Author: ng0 <ng0@infotropique.org>
Date:   Thu, 14 Sep 2017 15:04:13 +0000

Add nar and narinfo.

Diffstat:
Msrc/include/extractor.h | 5++++-
Msrc/main/extractor_metatypes.c | 8+++++++-
2 files changed, 11 insertions(+), 2 deletions(-)

diff --git 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 @@ -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") } };