49 typedef struct _sys_config { |
49 typedef struct _sys_config { |
50 char *name; /* Configuration name */ |
50 char *name; /* Configuration name */ |
51 char *mosq_host; /* mosquitto server hostname */ |
51 char *mosq_host; /* mosquitto server hostname */ |
52 int mosq_port; /* mosquitto server port */ |
52 int mosq_port; /* mosquitto server port */ |
53 w1_therm *w1therms; /* 1-wire temp sensors */ |
53 w1_therm *w1therms; /* 1-wire temp sensors */ |
|
54 #ifdef HAVE_WIRINGPI_H |
|
55 int lcd_cols; /* LCD display columns */ |
|
56 int lcd_rows; /* LCD display rows */ |
|
57 #endif |
54 } sys_config; |
58 } sys_config; |
55 |
59 |
56 |
60 |
57 |
61 |
58 void killconfig(void); |
62 void killconfig(void); |