/* chips.h - Part of sensors, a user-space program for hardware monitoring Copyright (c) 1998, 1999 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef PROG_SENSORS_CHIPS_H #define PROG_SENSORS_CHIPS_H #include "lib/sensors.h" extern void print_unknown_chip(const sensors_chip_name *name); /* some functions used by chips_generic.c */ #define HYST 0 #define MINMAX 1 #define MAXONLY 2 #define CRIT 3 #define SINGLE 4 #define HYSTONLY 5 void print_temp_info(float n_cur, float n_over, float n_hyst, int minmax, int curprec, int limitprec); void print_vid_info_real(const sensors_chip_name *name, int f_vid, int f_vrm, int label_size); void print_label(const char *label, int space); int sensors_get_label_and_valid(sensors_chip_name name, int feature, char **label, int *valid); #endif /* def PROG_SENSORS_CHIPS_H */