aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-09-14 15:04:13 +0000
committerng0 <ng0@infotropique.org>2017-09-14 15:20:06 +0000
commitf376d245006575e260c76aa899d735f30816f5b7 (patch)
treedab769c7533e8932b4df3c00427d229f71961170
parentad336fdea3f13441eb38737a7ca33229d8c0c536 (diff)
downloadlibextractor-f376d245006575e260c76aa899d735f30816f5b7.tar.gz
libextractor-f376d245006575e260c76aa899d735f30816f5b7.zip
Add nar and narinfo.
-rw-r--r--src/include/extractor.h5
-rw-r--r--src/main/extractor_metatypes.c8
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
385 385
386 EXTRACTOR_METATYPE_AUDIO_PREVIEW = 228, 386 EXTRACTOR_METATYPE_AUDIO_PREVIEW = 228,
387 387
388 EXTRACTOR_METATYPE_LAST = 229 388 EXTRACTOR_METATYPE_NARINFO = 229,
389 EXTRACTOR_METATYPE_NAR = 230,
390
391 EXTRACTOR_METATYPE_LAST = 231
389 }; 392 };
390 393
391/** @} */ /* end of meta data types */ 394/** @} */ /* 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[] = {
550 550
551 { gettext_noop ("audio preview"), 551 { gettext_noop ("audio preview"),
552 gettext_noop ("a preview of the file audio stream") }, 552 gettext_noop ("a preview of the file audio stream") },
553 553
554 { gettext_noop ("narinfo"),
555 gettext_noop ("file containing information about contents of a normalized archive (nar)") },
556 /* 230 */
557 { gettext_noop ("nar"),
558 gettext_noop ("normalized archive") },
559
554 { gettext_noop ("last"), 560 { gettext_noop ("last"),
555 gettext_noop ("last") } 561 gettext_noop ("last") }
556}; 562};