Various modules: Use the new "rrd_args_t" structure.
[collection4.git] / src / rrd_args.h
1 #ifndef RRD_ARGS_H
2 #define RRD_ARGS_H
3
4 #include "utils_array.h"
5
6 struct rrd_args_s
7 {
8   str_array_t *options;
9   str_array_t *data;
10   str_array_t *calc;
11   str_array_t *draw;
12
13   int index;
14   char last_stack_cdef[64];
15 };
16 typedef struct rrd_args_s rrd_args_t;
17
18 rrd_args_t *ra_create (void);
19 void ra_destroy (rrd_args_t *ra);
20
21 int ra_argc (rrd_args_t *ra);
22 char **ra_argv (rrd_args_t *ra);
23 void ra_argv_free (char **argv);
24
25 #endif /* RRD_ARGS_H */
26 /* vim: set sw=2 sts=2 et fdm=marker : */