| 3633 | } |
| 3634 | |
| 3635 | const char* hb_container_get_name(int format) |
| 3636 | { |
| 3637 | if (!(format & HB_MUX_MASK)) |
| 3638 | goto fail; |
| 3639 | |
| 3640 | const hb_container_t *container = NULL; |
| 3641 | while ((container = hb_container_get_next(container)) != NULL) |
| 3642 | { |
| 3643 | if (container->format == format) |
| 3644 | { |
| 3645 | return container->name; |
| 3646 | } |
| 3647 | } |
| 3648 | |
| 3649 | fail: |
| 3650 | return NULL; |
| 3651 | } |
| 3652 | |
| 3653 | const char* hb_container_get_short_name(int format) |
| 3654 | { |
no test coverage detected