diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-08 23:14:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-08 23:14:07 +0100 |
commit | 91debab9ade37293b1ea2ef5eb738c9a1214b6d6 (patch) | |
tree | 533ea9eab1323eb32c18318e42ac8157df7887f5 | |
parent | 397ff35988dfd22f9dcd3ef51eebeeced6622bae (diff) | |
download | libextractor-91debab9ade37293b1ea2ef5eb738c9a1214b6d6.tar.gz libextractor-91debab9ade37293b1ea2ef5eb738c9a1214b6d6.zip |
add NONE, clairfy RESERVED
-rw-r--r-- | src/include/extractor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/extractor.h b/src/include/extractor.h index 78fe627..9f24735 100644 --- a/src/include/extractor.h +++ b/src/include/extractor.h | |||
@@ -124,8 +124,14 @@ enum EXTRACTOR_MetaFormat | |||
124 | */ | 124 | */ |
125 | enum EXTRACTOR_MetaType | 125 | enum EXTRACTOR_MetaType |
126 | { | 126 | { |
127 | /* fundamental types */ | 127 | /* available to application for marking an `enum EXTRACTOR_MetaType` as not |
128 | carrying any meaningful value - never used by libextractor */ | ||
129 | EXTRACTOR_METATYPE_NONE = -1, | ||
130 | |||
131 | /* reserved should be used as a terminator (like the '\0'-terminator for strings) | ||
132 | and is never used directly by libextractor */ | ||
128 | EXTRACTOR_METATYPE_RESERVED = 0, | 133 | EXTRACTOR_METATYPE_RESERVED = 0, |
134 | |||
129 | EXTRACTOR_METATYPE_MIMETYPE = 1, | 135 | EXTRACTOR_METATYPE_MIMETYPE = 1, |
130 | EXTRACTOR_METATYPE_FILENAME = 2, | 136 | EXTRACTOR_METATYPE_FILENAME = 2, |
131 | EXTRACTOR_METATYPE_COMMENT = 3, | 137 | EXTRACTOR_METATYPE_COMMENT = 3, |