| 2041 | } |
| 2042 | |
| 2043 | void plugin_set_memleak_handler(struct plugin *plugin, |
| 2044 | void (*mark_mem)(struct plugin *plugin, |
| 2045 | struct htable *memtable)) |
| 2046 | { |
| 2047 | if (plugin->developer) |
| 2048 | plugin->mark_mem = mark_mem; |
| 2049 | } |
| 2050 | |
| 2051 | bool command_deprecated_ok_flag(const struct command *cmd) |
| 2052 | { |