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