aboutsummaryrefslogtreecommitdiff
path: root/src/tagr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagr.h')
-rw-r--r--src/tagr.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/tagr.h b/src/tagr.h
index 5d7c3e0..6ed7ca2 100644
--- a/src/tagr.h
+++ b/src/tagr.h
@@ -40,20 +40,22 @@
40#define N_(s) s 40#define N_(s) s
41#define gettext(s) s 41#define gettext(s) s
42#define ngettext(s,p,c) ((c) == 1 ? (s) : (p)) 42#define ngettext(s,p,c) ((c) == 1 ? (s) : (p))
43 43
44struct monitor 44struct monitor
45{ 45{
46 char *id; 46 char *id; /* Monitor ID */
47 char *name; 47 char *name; /* Full name */
48 char *dir; 48 char *dir; /* Output directory */
49 char *rate_unit; 49 char *rate_unit; /* Rate units */
50 unsigned long max_rate; 50 unsigned long max_rate; /* Max. rate value */
51 double scale; 51 unsigned long max_adjust; /* Adjustment for max. rate */
52 double ystep; 52 double scale; /* Y (rate) scale */
53 int swap; 53 double ystep; /* Step of Y grid, in fractions of max_rate */
54 int ystep_absolute; /* When true, ystep is an absolute value */
55 int swap; /* Swap input and output rates */
54}; 56};
55 57
56extern int preprocess_only; 58extern int preprocess_only;
57extern int log_to_stderr; 59extern int log_to_stderr;
58extern char *pidfile; 60extern char *pidfile;
59extern unsigned update_interval; 61extern unsigned update_interval;
@@ -72,14 +74,14 @@ extern char *basedir;
72extern char *configfile; 74extern char *configfile;
73extern int foreground; 75extern int foreground;
74extern char *html_template; 76extern char *html_template;
75extern char *html_input_file; 77extern char *html_input_file;
76extern int html_input_line; 78extern int html_input_line;
77extern int verbose_level; 79extern int verbose_level;
78extern char *rate_unit;
79 80
81extern struct monitor default_monitor;
80extern int percent_option; 82extern int percent_option;
81extern int transparent_option; 83extern int transparent_option;
82extern int zero_unknown_option; 84extern int zero_unknown_option;
83extern int fill_incoming_option; 85extern int fill_incoming_option;
84extern int color_background[3]; 86extern int color_background[3];
85extern int color_light[3]; 87extern int color_light[3];

Return to:

Send suggestions and report system problems to the System administrator.