Message batching API functions

int purify_start_batch (void)

Enables batch mode, if not already set. Batch mode postpones error reporting and consolidates identical messages until batch mode is turned off, or the program exits.

The summarized batch message includes the number of occurrences of each error, the function call chain, and other details of the first occurrence of the error.

int purify_stop_batch (void)

Disables batch mode. Prints all new messages in the batch and resumes automatic and immediate reporting.

int purify_new_messages (void)

Prints new messages consolidated in the batch since the last call to purify_all_messages, purify_new_messages, or purify_clear_messages.

int purify_clear_messages (void)

Marks new messages in the batch so that purify_new_messages does not print them.

int purify_all_messages (void)

Prints all messages in the batch.

Notes: