COPYING: Add LGPL 2.1 license.
[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 *areas;
12   str_array_t *lines;
13
14   int index;
15   char last_stack_cdef[64];
16 };
17 typedef struct rrd_args_s rrd_args_t;
18
19 rrd_args_t *ra_create (void);
20 void ra_destroy (rrd_args_t *ra);
21
22 int ra_argc (rrd_args_t *ra);
23 char **ra_argv (rrd_args_t *ra);
24 void ra_argv_free (char **argv);
25
26 #endif /* RRD_ARGS_H */
27 /* vim: set sw=2 sts=2 et fdm=marker : */