| 2051 | } |
| 2052 | |
| 2053 | void plugin_set_memleak_handler(struct plugin *plugin, |
| 2054 | void (*mark_mem)(struct plugin *plugin, |
| 2055 | struct htable *memtable)) |
| 2056 | { |
| 2057 | if (plugin->developer) |
| 2058 | plugin->mark_mem = mark_mem; |
| 2059 | } |
| 2060 | |
| 2061 | bool command_deprecated_ok_flag(const struct command *cmd) |
| 2062 | { |