| 1 |
/* 'checkit_tiff' is a conformance checker for baseline TIFFs |
| 2 |
* |
| 3 |
* author: Andreas Romeyke, 2015-2022 |
| 4 |
* licensed under conditions of libtiff |
| 5 |
* (see http://libtiff.maptools.org/misc.html) |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef FIXIT_TIFF_MSG_PARSER |
| 10 |
#define FIXIT_TIFF_MSG_PARSER |
| 11 |
typedef enum { |
| 12 |
fc_true, |
| 13 |
fc_false, |
| 14 |
fc_tag_has_some_of_these_values, |
| 15 |
fc_tag_has_valuelist, |
| 16 |
fc_tag_has_value_in_range, |
| 17 |
fc_tag_has_value, |
| 18 |
fc_tag_has_value_quiet, |
| 19 |
fc_tag, |
| 20 |
fc_tag_quiet, |
| 21 |
fc_notag, |
| 22 |
fc_tag_has_valid_type, |
| 23 |
fc_datetime, |
| 24 |
fc_icc, |
| 25 |
fc_has_only_one_ifd, |
| 26 |
fc_tagorder, |
| 27 |
fc_tag_has_valid_asciivalue, |
| 28 |
fc_tag_has_value_matching_regex, |
| 29 |
fc_all_offsets_are_word_aligned, |
| 30 |
fc_all_offsets_are_used_once_only, |
| 31 |
fc_all_IFDs_are_word_aligned, |
| 32 |
fc_internal_logic_combine_open, |
| 33 |
fc_internal_logic_combine_close, |
| 34 |
fc_all_offsets_are_not_zero, |
| 35 |
fc_all_geotiff_tags_have_same_count_of_values, |
| 36 |
fc_check_cardinality, |
| 37 |
fc_dummy, |
| 38 |
fc_all_offsets_within_filesize, |
| 39 |
fc_all_IFDs_have_tags, |
| 40 |
} function_t; |
| 41 |
|
| 42 |
const char * get_parser_function_description (function_t f); |
| 43 |
const char * get_parser_error_description( returncode_t r); |
| 44 |
const char * get_parser_function_name( function_t f ); |
| 45 |
#endif |
| 46 |
|
| 47 |
|
| 48 |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 smarttab expandtab :*/ |