| 520 | } |
| 521 | |
| 522 | static gboolean |
| 523 | cib_async_timeout_handler(gpointer data) |
| 524 | { |
| 525 | struct timer_rec_s *timer = data; |
| 526 | |
| 527 | crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); |
| 528 | cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); |
| 529 | |
| 530 | /* Always return TRUE, never remove the handler |
| 531 | * We do that in remove_cib_op_callback() |
| 532 | */ |
| 533 | return TRUE; |
| 534 | } |
| 535 | |
| 536 | gboolean |
| 537 | cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success, |
nothing calls this directly
no test coverage detected