mail-index-map-hdr.c revision e34d170f8f0e084bd94bfbc1a7085ece67e508df
/* extension headers always start from 64bit offsets, so if base header doesn't happen to be 64bit aligned we'll skip some bytes */ /* nothing to do, skip allocatations and all */ "Header extension #%d (%s) goes outside header",
"Broken extension #%d (%s): %s",
"Duplicate header extension %s",
/* Extension header contains: - struct mail_index_keyword_header - struct mail_index_keyword_header_rec * keywords_count - const char names[] * keywords_count /* Keywords can only be added into same mapping. Removing requires a new mapping (recreating the index file) */ /* make sure the header is valid */ "Keywords removed unexpectedly",
"keywords_count larger than header size",
"name_offset points outside allocated header",
"Keyword header doesn't end with NUL",
/* create file -> index mapping */ /* Check that existing headers are still the same. It's behind DEBUG since it's pretty useless waste of CPU normally. */ "Keywords changed unexpectedly",
/* Register the newly seen keywords */ "Empty keyword name in header",
/* major version change - handle silently(?) */ /* we've already complained about it */ /* architecture change */ "CPU architecture changed",
"Corrupted header sizes (base %u, full %u)",
"indexid changed: %u -> %u",
/* following some extra checks that only take a bit of CPU */ /* upgrade silently from v1.0 */ /* pre-v1.1.rc6: make sure the \Recent flags are gone */ /* last message's UID must be smaller than next_uid. also make sure it's not zero. */