| 433 | } |
| 434 | |
| 435 | static void check_condition(pn_event_t *e, pn_condition_t *cond) { |
| 436 | if (VERBOSE) |
| 437 | printf("beginning check_condition\n"); |
| 438 | if (pn_condition_is_set(cond)) { |
| 439 | if (VERBOSE || ERRORS) |
| 440 | fprintf(stderr, "%s: %s: %s\n", pn_event_type_name(pn_event_type(e)), |
| 441 | pn_condition_get_name(cond), pn_condition_get_description(cond)); |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | ///* Copies output from first connection driver into input of the second. */ |
| 446 | static void shovel(pn_connection_driver_t &sender, pn_connection_driver_t &receiver) { |
no test coverage detected