| 578 | } |
| 579 | |
| 580 | int add_failure_callback(flow *flow, void (*onerror_callback)(flow_file_record*)) { |
| 581 | return flow->setFailureCallback(onerror_callback) ? 0 : 1; |
| 582 | } |
| 583 | |
| 584 | int set_failure_strategy(flow *flow, FailureStrategy strategy) { |
| 585 | return flow->setFailureStrategy(strategy) ? 0 : -1; |
no test coverage detected