| 54 | }; |
| 55 | |
| 56 | static bool have_layer(const char **layers, const char *name) |
| 57 | { |
| 58 | for (size_t i = 0; i < tal_count(layers); i++) { |
| 59 | if (streq(layers[i], name)) |
| 60 | return true; |
| 61 | } |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | /* A direction, either "in" or "out", internally handled as a boolean. */ |
| 66 | static struct command_result *param_direction(struct command *cmd, |
no outgoing calls
no test coverage detected