| 438 | } |
| 439 | |
| 440 | static bool colname_to_delete(const char **colnames, |
| 441 | size_t num_colnames, |
| 442 | const char *columnname) |
| 443 | { |
| 444 | for (size_t i = 0; i < num_colnames; i++) { |
| 445 | if (streq(columnname, colnames[i])) |
| 446 | return true; |
| 447 | } |
| 448 | return false; |
| 449 | } |
| 450 | |
| 451 | /* Returns NULL if this doesn't look like a column definition */ |
| 452 | static const char *find_column_name(const tal_t *ctx, |
no outgoing calls
no test coverage detected