| 292 | } |
| 293 | |
| 294 | cs_error_t cpg_fd_get ( |
| 295 | cpg_handle_t handle, |
| 296 | int *fd) |
| 297 | { |
| 298 | cs_error_t error; |
| 299 | struct cpg_inst *cpg_inst; |
| 300 | |
| 301 | error = hdb_error_to_cs (hdb_handle_get (&cpg_handle_t_db, handle, (void *)&cpg_inst)); |
| 302 | if (error != CS_OK) { |
| 303 | return (error); |
| 304 | } |
| 305 | |
| 306 | error = qb_to_cs_error (qb_ipcc_fd_get (cpg_inst->c, fd)); |
| 307 | |
| 308 | hdb_handle_put (&cpg_handle_t_db, handle); |
| 309 | |
| 310 | return (error); |
| 311 | } |
| 312 | |
| 313 | cs_error_t cpg_max_atomic_msgsize_get ( |
| 314 | cpg_handle_t handle, |