diff options
Diffstat (limited to 'src/libhydra/plugins/attr/attr_plugin.c')
-rw-r--r-- | src/libhydra/plugins/attr/attr_plugin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libhydra/plugins/attr/attr_plugin.c b/src/libhydra/plugins/attr/attr_plugin.c index 0f66b680a..762dc88b2 100644 --- a/src/libhydra/plugins/attr/attr_plugin.c +++ b/src/libhydra/plugins/attr/attr_plugin.c @@ -36,6 +36,12 @@ struct private_attr_plugin_t { attr_provider_t *provider; }; +METHOD(plugin_t, get_name, char*, + private_attr_plugin_t *this) +{ + return "attr"; +} + METHOD(plugin_t, destroy, void, private_attr_plugin_t *this) { @@ -54,6 +60,7 @@ plugin_t *attr_plugin_create() INIT(this, .public = { .plugin = { + .get_name = _get_name, .destroy = _destroy, }, }, |