|
Revision 2677, 0.9 KB
(checked in by khali, 9 years ago)
|
|
New header file, for functions shared among i2c command line
tools (i2cdetect, i2cdump, i2cset).
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | i2cbusses.h - Part of the lm_sensors project |
|---|
| 3 | |
|---|
| 4 | Copyright (C) 2004 The lm_sensors group |
|---|
| 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 2 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 | 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | #ifndef _I2CBUSSES_H |
|---|
| 22 | #define _I2CBUSSES_H |
|---|
| 23 | |
|---|
| 24 | void print_i2c_busses(int procfmt); |
|---|
| 25 | |
|---|
| 26 | int open_i2c_dev(const int i2cbus, char *filename); |
|---|
| 27 | |
|---|
| 28 | #endif |
|---|