Jon Medhurst | aaf37a3 | 2013-06-11 12:10:56 +0100 | [diff] [blame] | 1 | /* |
| 2 | access.h - Part of libsensors, a Linux library for reading sensor data. |
| 3 | Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> |
| 4 | Copyright (C) 2007 Jean Delvare <khali@linux-fr.org> |
| 5 | |
| 6 | This library is free software; you can redistribute it and/or |
| 7 | modify it under the terms of the GNU Lesser General Public |
| 8 | License as published by the Free Software Foundation; either |
| 9 | version 2.1 of the License, or (at your option) any later version. |
| 10 | |
| 11 | This library 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 Lesser General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
| 19 | MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef LIB_SENSORS_ACCESS_H |
| 23 | #define LIB_SENSORS_ACCESS_H |
| 24 | |
| 25 | #include "sensors.h" |
| 26 | #include "data.h" |
| 27 | |
| 28 | /* Check whether the chip name is an 'absolute' name, which can only match |
| 29 | one chip, or whether it has wildcards. Returns 0 if it is absolute, 1 |
| 30 | if there are wildcards. */ |
| 31 | int sensors_chip_name_has_wildcards(const sensors_chip_name *chip); |
| 32 | |
| 33 | #endif /* def LIB_SENSORS_ACCESS_H */ |