| 277 | } |
| 278 | |
| 279 | cs_error_t quorum_fd_get ( |
| 280 | quorum_handle_t handle, |
| 281 | int *fd) |
| 282 | { |
| 283 | cs_error_t error; |
| 284 | struct quorum_inst *quorum_inst; |
| 285 | |
| 286 | error = hdb_error_to_cs(hdb_handle_get (&quorum_handle_t_db, handle, (void *)&quorum_inst)); |
| 287 | if (error != CS_OK) { |
| 288 | return (error); |
| 289 | } |
| 290 | |
| 291 | error = qb_to_cs_error(qb_ipcc_fd_get (quorum_inst->c, fd)); |
| 292 | |
| 293 | (void)hdb_handle_put (&quorum_handle_t_db, handle); |
| 294 | |
| 295 | return (error); |
| 296 | } |
| 297 | |
| 298 | |
| 299 | cs_error_t quorum_context_get ( |
no test coverage detected