70 char *alias; /* Friendly name */ |
70 char *alias; /* Friendly name */ |
71 } rc_switch; |
71 } rc_switch; |
72 |
72 |
73 typedef struct _sys_config { |
73 typedef struct _sys_config { |
74 char *name; /* Configuration name */ |
74 char *name; /* Configuration name */ |
75 char *mosq_host; /* mosquitto server hostname */ |
|
76 int mosq_port; /* mosquitto server port */ |
|
77 int my_port; /* my client/server port */ |
75 int my_port; /* my client/server port */ |
78 w1_therm *w1therms; /* 1-wire temp sensors */ |
76 w1_therm *w1therms; /* 1-wire temp sensors */ |
79 #ifdef HAVE_WIRINGPI_H |
77 #ifdef HAVE_WIRINGPI_H |
80 int lcd_cols; /* LCD display columns */ |
78 int lcd_cols; /* LCD display columns */ |
81 int lcd_rows; /* LCD display rows */ |
79 int lcd_rows; /* LCD display rows */ |