mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
generic printing code should work now, and what doesn't work, will get fixed. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4503 7894878c-1315-0410-8ee3-d5d059ff63e0
44 lines
1.5 KiB
C
44 lines
1.5 KiB
C
/*
|
|
chips.h - Part of sensors, a user-space program for hardware monitoring
|
|
Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>
|
|
|
|
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 */
|