| 112 | #endif /* DEVELOPER */ |
| 113 | |
| 114 | static const char *init(struct plugin *p, |
| 115 | const char *buf UNUSED, |
| 116 | const jsmntok_t *config UNUSED) |
| 117 | { |
| 118 | plugin_log(p, LOG_DBG, "test_libplugin initialised!"); |
| 119 | |
| 120 | if (self_disable) |
| 121 | return "Disabled via selfdisable option"; |
| 122 | |
| 123 | #if DEVELOPER |
| 124 | plugin_set_memleak_handler(p, memleak_mark); |
| 125 | #endif |
| 126 | |
| 127 | return NULL; |
| 128 | } |
| 129 | |
| 130 | static const struct plugin_command commands[] = { { |
| 131 | "helloworld", |
nothing calls this directly
no test coverage detected