| 832 | } |
| 833 | |
| 834 | const char *csv_list_fmts(const tal_t *ctx) |
| 835 | { |
| 836 | char *fmtlist = tal(ctx, char); |
| 837 | for (size_t i = 0; i < ARRAY_SIZE(csv_fmts); i++) { |
| 838 | if (i > 0) |
| 839 | tal_append_fmt(&fmtlist, ","); |
| 840 | tal_append_fmt(&fmtlist, "\"%s\"", csv_fmts[i].fmt_name); |
| 841 | } |
| 842 | return (const char *) fmtlist; |
| 843 | } |
| 844 | |
| 845 | |
| 846 | char *csv_print_income_events(const tal_t *ctx, |
no test coverage detected