Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
goto ERROR;
// Call the implementation to add some arguments
- r = self->impl->render(self->ctx, self, args);
+ r = self->impl->render(self->ctx, self, args, object);
if (r < 0)
goto ERROR;
int (*available)(collecty_ctx* ctx, collecty_daemon* daemon);
// Render!
- int (*render)(collecty_ctx* ctx, collecty_graph* graph, collecty_args* args);
+ int (*render)(collecty_ctx* ctx, collecty_graph* graph,
+ collecty_args* args, const char* object);
} collecty_graph_impl;
int collecty_graph_create(collecty_graph** graph,