Do we accept this? */
| 1050 | |
| 1051 | /* Do we accept this? */ |
| 1052 | bool lightningd_deprecated_in_ok(struct lightningd *ld, |
| 1053 | struct logger *log, |
| 1054 | bool deprecated_apis, |
| 1055 | const char *subsys, |
| 1056 | const char *api, |
| 1057 | const char *start, |
| 1058 | const char *end, |
| 1059 | const char *details) |
| 1060 | { |
| 1061 | struct depr_in depr_in; |
| 1062 | |
| 1063 | depr_in.log = log; |
| 1064 | depr_in.details = details; |
| 1065 | |
| 1066 | return deprecated_ok(deprecated_apis, |
| 1067 | api_name(tmpctx, subsys, api), |
| 1068 | start, end, |
| 1069 | ld->api_begs, |
| 1070 | complain_deprecated, &depr_in); |
| 1071 | } |
| 1072 | |
| 1073 | /*~ We fork out new processes very very often; every channel gets its own |
| 1074 | * process, for example, and we have `hsmd` and `gossipd` and the plugins as |
no test coverage detected