| 210 | } |
| 211 | |
| 212 | cs_error_t cmap_fd_get(cmap_handle_t handle, int *fd) |
| 213 | { |
| 214 | cs_error_t error; |
| 215 | struct cmap_inst *cmap_inst; |
| 216 | |
| 217 | error = hdb_error_to_cs(hdb_handle_get (&cmap_handle_t_db, handle, (void *)&cmap_inst)); |
| 218 | if (error != CS_OK) { |
| 219 | return (error); |
| 220 | } |
| 221 | |
| 222 | error = qb_to_cs_error (qb_ipcc_fd_get (cmap_inst->c, fd)); |
| 223 | |
| 224 | (void)hdb_handle_put (&cmap_handle_t_db, handle); |
| 225 | |
| 226 | return (error); |
| 227 | } |
| 228 | |
| 229 | cs_error_t cmap_dispatch ( |
| 230 | cmap_handle_t handle, |
no test coverage detected