/*
* Copyright (C) 1998 Itai Nahshon, Michael Schimek
*/
#ifndef _XF86I2C_H
#define _XF86I2C_H
#include "miscstruct.h"
typedef unsigned char I2CByte;
typedef unsigned short I2CSlaveAddr;
/* I2C masters have to register themselves */
typedef struct _I2CBusRec {
char * BusName;
int scrnIndex;
/* Look at the generic routines to see how these functions should behave. */
} I2CBusRec;
I2CBusPtr xf86CreateI2CBusRec(void);
/* I2C slave devices */
typedef struct _I2CDevRec {
char * DevName;
} I2CDevRec;
I2CDevPtr xf86CreateI2CDevRec(void);
/* See descriptions of these functions in xf86i2c.c */
#endif /*_XF86I2C_H */