27 lines
No EOL
434 B
C
27 lines
No EOL
434 B
C
#ifndef _GLOBAL_H_
|
|
#define _GLOBAL_H_
|
|
|
|
extern int daemonize;
|
|
extern int verbose;
|
|
|
|
extern const char* PROGRAM_NAME;
|
|
extern const char* PROGRAM_PID;
|
|
|
|
struct s_sensors {
|
|
char* path;
|
|
unsigned int temperature;
|
|
struct s_sensors *next;
|
|
};
|
|
|
|
struct s_fans {
|
|
char* path;
|
|
char* fan_output_path;
|
|
char* fan_manual_path;
|
|
struct s_fans *next;
|
|
};
|
|
|
|
typedef struct s_sensors t_sensors;
|
|
typedef struct s_fans t_fans;
|
|
|
|
|
|
#endif |