| 1 | /* |
| 2 | * config.h - Fan control daemon for MacBook |
| 3 | * |
| 4 | * Copyright (C) 2010 Mikael Strom <[email protected]> |
| 5 | * |
| 6 | * This program is free software: you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation, either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
| 17 | #ifndef CONFIG_H_ |
| 18 | #define CONFIG_H_cxx . . $ `config.h:18:9`! |
| 19 | |
| 20 | extern float temp_avg_floorcxx . . $ temp_avg_floor.; |
| 21 | extern float temp_avg_ceilingcxx . . $ temp_avg_ceiling.; |
| 22 | |
| 23 | extern float temp_TC0P_floorcxx . . $ temp_TC0P_floor.; |
| 24 | extern float temp_TC0P_ceilingcxx . . $ temp_TC0P_ceiling.; |
| 25 | |
| 26 | extern float temp_TG0P_floorcxx . . $ temp_TG0P_floor.; |
| 27 | extern float temp_TG0P_ceilingcxx . . $ temp_TG0P_ceiling.; |
| 28 | |
| 29 | extern float fan_mincxx . . $ fan_min.; |
| 30 | extern float fan_maxcxx . . $ fan_max.; |
| 31 | |
| 32 | extern int log_levelcxx . . $ log_level.; |
| 33 | |
| 34 | void read_cfgcxx . . $ read_cfg(fda57c8427c60377).(char* name); |
| 35 | |
| 36 | #define MAX_EXCLUDEcxx . . $ `config.h:36:9`! 20 |
| 37 | extern int excludecxx . . $ exclude.[MAX_EXCLUDEcxx . . $ `config.h:36:9`!]; // array of sensors to exclude |
| 38 | |
| 39 | #define maxcxx . . $ `config.h:39:9`!(a,b) (a > b ? a : b) |
| 40 | #define mincxx . . $ `config.h:40:9`!(a,b) (a < b ? a : b) |
| 41 | |
| 42 | #endif /* CONFIG_H_ */ |