|
Revision 5241, 1.3 kB
(checked in by khali, 7 months ago)
|
Share the error string between all functionality checks.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
#ifndef _I2CBUSSES_H |
|---|
| 23 |
#define _I2CBUSSES_H |
|---|
| 24 |
|
|---|
| 25 |
struct i2c_adap { |
|---|
| 26 |
int nr; |
|---|
| 27 |
char *name; |
|---|
| 28 |
const char *funcs; |
|---|
| 29 |
const char *algo; |
|---|
| 30 |
}; |
|---|
| 31 |
|
|---|
| 32 |
struct i2c_adap *gather_i2c_busses(void); |
|---|
| 33 |
void free_adapters(struct i2c_adap *adapters); |
|---|
| 34 |
|
|---|
| 35 |
int lookup_i2c_bus(const char *i2cbus_arg); |
|---|
| 36 |
int parse_i2c_address(const char *address_arg); |
|---|
| 37 |
int open_i2c_dev(const int i2cbus, char *filename, const int quiet); |
|---|
| 38 |
int set_slave_addr(int file, int address, int force); |
|---|
| 39 |
|
|---|
| 40 |
#define MISSING_FUNC_FMT "Error: Adapter does not have %s capability\n" |
|---|
| 41 |
|
|---|
| 42 |
#endif |
|---|