Next: , Previous: Plugin management, Up: Extracting meta data


4.2 Meta types

enum EXTRACTOR_MetaType is a C enum which defines a list of over 100 different types of meta data. The total number can differ between different GNU libextractor releases; the maximum value for the current release can be obtained using the EXTRACTOR_metatype_get_max function. All values in this enumeration are of the form EXTRACTOR_METATYPE_XXX.

— Function: const char * EXTRACTOR_metatype_to_string (enum EXTRACTOR_MetaType type)

The function EXTRACTOR_metatype_to_string can be used to obtain a short English string ‘s’ describing the meta data type. The string can be translated into other languages using GNU gettext with the domain set to GNU libextractor (dgettext("libextractor", s)).

— Function: const char * EXTRACTOR_metatype_to_description (enum EXTRACTOR_MetaType type)

The function EXTRACTOR_metatype_to_description can be used to obtain a longer English string ‘s’ describing the meta data type. The description may be empty if the short description returned by EXTRACTOR_metatype_to_string is already comprehensive. The string can be translated into other languages using GNU gettext with the domain set to GNU libextractor (dgettext("libextractor", s)).