diff options
Diffstat (limited to 'src/tagr.h')
-rw-r--r-- | src/tagr.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -43,14 +43,16 @@ struct monitor { - char *id; - char *name; - char *dir; - char *rate_unit; - unsigned long max_rate; - double scale; - double ystep; - int swap; + char *id; /* Monitor ID */ + char *name; /* Full name */ + char *dir; /* Output directory */ + char *rate_unit; /* Rate units */ + unsigned long max_rate; /* Max. rate value */ + unsigned long max_adjust; /* Adjustment for max. rate */ + double scale; /* Y (rate) scale */ + double ystep; /* Step of Y grid, in fractions of max_rate */ + int ystep_absolute; /* When true, ystep is an absolute value */ + int swap; /* Swap input and output rates */ }; extern int preprocess_only; @@ -75,8 +77,8 @@ extern char *html_template; extern char *html_input_file; extern int html_input_line; extern int verbose_level; -extern char *rate_unit; +extern struct monitor default_monitor; extern int percent_option; extern int transparent_option; extern int zero_unknown_option; |