summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92b128e)
raw | patch | inline | side by side (parent: 92b128e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 13 Jan 2007 17:21:22 +0000 (18:21 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 13 Jan 2007 17:21:22 +0000 (18:21 +0100) |
This is necessary when we will implement caching in the future.
src/plugin.c | patch | blob | history | |
src/plugin.h | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 2cf59684bd9c910979dd8837656c23011c9e8c2b..857643d023452452ce5b2bf59a8e94230dfe7bbf 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
ds = (data_set_t *) le->value;
+ DBG ("time = %u; host = %s; "
+ "plugin = %s; plugin_instance = %s; "
+ "type = %s; type_instance = %s;",
+ (unsigned int) vl->time, vl->host,
+ vl->plugin, vl->plugin_instance,
+ ds->type, vl->type_instance);
+
le = llist_head (list_write);
while (le != NULL)
{
diff --git a/src/plugin.h b/src/plugin.h
index a2df069269f03f4155019013c9515b9fba258dc4..8381871892f56a198d35be014b41cc22f8ab3d06 100644 (file)
--- a/src/plugin.h
+++ b/src/plugin.h
{
value_t *values;
int values_len;
+ time_t time;
char host[DATA_MAX_NAME_LEN];
char plugin[DATA_MAX_NAME_LEN];
char plugin_instance[DATA_MAX_NAME_LEN];