| 1819 | } |
| 1820 | |
| 1821 | struct plugin_timer *command_timer_(struct command *cmd, |
| 1822 | struct timerel t, |
| 1823 | struct command_result *(*cb)(struct command *cmd, void *cb_arg), |
| 1824 | void *cb_arg) |
| 1825 | { |
| 1826 | return new_timer(cmd, cmd->plugin, |
| 1827 | take(tal_fmt(NULL, "%s-timer", cmd->id)), |
| 1828 | t, cb, cb_arg); |
| 1829 | } |
| 1830 | |
| 1831 | void plugin_logv(struct plugin *p, enum log_level l, |
| 1832 | const char *fmt, va_list ap) |
nothing calls this directly
no test coverage detected