2 * @file FileTextStats.h
4 * @brief Declaration file for FileTextStats structure.
9 * @brief Structure containing statistics about compared file.
10 * This structure contains EOL-byte and zero-byte statistics from compared
11 * file. Those statistics can be used to determine EOL style and binary
16 int ncrs; /**< Count of MAC (CR-byte) EOLs. */
17 int nlfs; /**< Count of Unix (LF-byte) EOLs. */
18 int ncrlfs; /**< Count of DOS (CR+LF-bytes) EOLs. */
19 int nzeros; /**< Count of zero-bytes. */
20 FileTextStats() { clear(); }
21 void clear() { ncrs = nlfs = ncrlfs = nzeros = 0; }