summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cf33881)
raw | patch | inline | side by side (parent: cf33881)
author | Florian Forster <ff@octo.it> | |
Fri, 2 Jul 2010 18:38:45 +0000 (20:38 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 2 Jul 2010 18:38:45 +0000 (20:38 +0200) |
src/rrd_args.c | patch | blob | history | |
src/rrd_args.h | patch | blob | history |
diff --git a/src/rrd_args.c b/src/rrd_args.c
index f9137332276faf7a7fb89d3d86035f99b162deaf..4c66a15f424d56a6f0df9968dc9519d8d567cf2a 100644 (file)
--- a/src/rrd_args.c
+++ b/src/rrd_args.c
ra->options = array_create ();
ra->data = array_create ();
ra->calc = array_create ();
- ra->draw = array_create ();
+ ra->areas = array_create ();
+ ra->lines = array_create ();
if ((ra->options == NULL)
|| (ra->data == NULL)
|| (ra->calc == NULL)
- || (ra->draw == NULL))
+ || (ra->areas == NULL)
+ || (ra->lines == NULL))
{
ra_destroy (ra);
return (NULL);
array_destroy (ra->options);
array_destroy (ra->data);
array_destroy (ra->calc);
- array_destroy (ra->draw);
+ array_destroy (ra->areas);
+ array_destroy (ra->lines);
free (ra);
} /* }}} void ra_destroy */
return (array_argc (ra->options)
+ array_argc (ra->data)
+ array_argc (ra->calc)
- + array_argc (ra->draw));
+ + array_argc (ra->areas)
+ + array_argc (ra->lines));
} /* }}} int ra_argc */
char **ra_argv (rrd_args_t *ra) /* {{{ */
APPEND_FIELD (options);
APPEND_FIELD (data);
APPEND_FIELD (calc);
- APPEND_FIELD (draw);
+ APPEND_FIELD (areas);
+ APPEND_FIELD (lines);
#undef APPEND_FIELD
diff --git a/src/rrd_args.h b/src/rrd_args.h
index b3ef34adcbd974c106716be65def7ebce7d08868..9c29325ce8d0e33f0535580296bc19e14b7b8cd7 100644 (file)
--- a/src/rrd_args.h
+++ b/src/rrd_args.h
str_array_t *options;
str_array_t *data;
str_array_t *calc;
- str_array_t *draw;
+ str_array_t *areas;
+ str_array_t *lines;
int index;
char last_stack_cdef[64];