projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
graph.[ch]: Implement "graph_get_rrdargs".
[collection4.git]
/
graph_def.c
diff --git
a/graph_def.c
b/graph_def.c
index
71ba1bd
..
a5511f6
100644
(file)
--- a/
graph_def.c
+++ b/
graph_def.c
@@
-3,6
+3,7
@@
#include <errno.h>
#include "graph_def.h"
#include <errno.h>
#include "graph_def.h"
+#include "graph.h"
#include "graph_config.h"
#include "common.h"
#include "oconfig.h"
#include "graph_config.h"
#include "common.h"
#include "oconfig.h"
@@
-79,10
+80,10
@@
static graph_def_t *def_config_get_obj (graph_config_t *cfg, /* {{{ */
graph_def_t *def;
int i;
graph_def_t *def;
int i;
- ident = g
l_g
raph_get_selector (cfg);
+ ident = graph_get_selector (cfg);
if (ident == NULL)
{
if (ident == NULL)
{
- fprintf (stderr, "def_config_get_obj: g
l_g
raph_get_selector failed");
+ fprintf (stderr, "def_config_get_obj: graph_get_selector failed");
return (NULL);
}
return (NULL);
}
@@
-134,7
+135,7
@@
graph_def_t *def_create (graph_config_t *cfg, graph_ident_t *ident, /* {{{ */
if ((cfg == NULL) || (ident == NULL) || (ds_name == NULL))
return (NULL);
if ((cfg == NULL) || (ident == NULL) || (ds_name == NULL))
return (NULL);
- selector = g
l_g
raph_get_selector (cfg);
+ selector = graph_get_selector (cfg);
if (selector == NULL)
return (NULL);
if (selector == NULL)
return (NULL);
@@
-217,7
+218,7
@@
int def_config (graph_config_t *cfg, const oconfig_item_t *ci) /* {{{ */
child->key);
}
child->key);
}
- return (g
l_g
raph_add_def (cfg, def));
+ return (graph_add_def (cfg, def));
} /* }}} int def_config */
int def_append (graph_def_t *head, graph_def_t *def) /* {{{ */
} /* }}} int def_config */
int def_append (graph_def_t *head, graph_def_t *def) /* {{{ */