| 781 | } |
| 782 | |
| 783 | static inline void |
| 784 | reset_field_line (uintmax_t *field_idx, bool *found_any_selected_field, |
| 785 | bool *have_pending_line, struct mbfield_parser *parser) |
| 786 | { |
| 787 | *field_idx = 1; |
| 788 | current_rp = frp; |
| 789 | *found_any_selected_field = false; |
| 790 | *have_pending_line = false; |
| 791 | parser->have_saved = false; |
| 792 | parser->at_line_start = true; |
| 793 | } |
| 794 | |
| 795 | /* Read from STREAM using buffered block reads, printing selected bytes. |
| 796 | BYTE_IDX and PRINT_DELIMITER track the current line state and allow |