| 527 | static int dist_validate_options(const ds4_dist_options *opt, char *err, size_t errlen); |
| 528 | |
| 529 | static uint32_t dist_resolved_layer_end(const ds4_dist_options *opt, uint32_t n_layers) { |
| 530 | if (opt->layers.has_output) return n_layers - 1u; |
| 531 | return opt->layers.end; |
| 532 | } |
| 533 | |
| 534 | static const char *dist_role_name(ds4_distributed_role role) { |
| 535 | switch (role) { |
no outgoing calls
no test coverage detected