mbpfan/src/global.h

26 lines
433 B
C
Raw Normal View History

2012-08-23 20:32:49 +00:00
#ifndef _GLOBAL_H_
#define _GLOBAL_H_
2012-06-11 19:43:53 +00:00
extern int daemonize;
2012-06-15 19:07:11 +00:00
extern int verbose;
extern const char* program_name;
2012-08-23 20:32:49 +00:00
extern const char* program_pid;
struct s_sensors {
char* path;
unsigned int temperature;
struct s_sensors *next;
};
2012-10-24 09:13:25 +00:00
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;
2012-08-23 20:32:49 +00:00
#endif