Main Page | Class List | File List | Class Members | File Members | Related Pages

otto_driver Struct Reference

OBD2 physical interface device driver. More...

#include <device.h>

List of all members.

Public Attributes

char * name
 Driver name.

char * desc
 Driver description.

char * author
 Driver author.

char * license
 Driver license.

otto_device *(* open )(const char *)
int(* close )(struct otto_device *)
int(* write )(struct otto_device *, int, union otto_packet *)
int(* read )(struct otto_device *, int, union otto_packet *)
int(* control )(struct otto_device *, int, void *, int)
otto_devicedev_first
 Pointer to list of devices open on this driver.

otto_drivernext
 Next pointer for device list.


Detailed Description

OBD2 physical interface device driver.

Todo:
flush()?

up()/down()?


Member Data Documentation

char* otto_driver::author
 

Driver author.

int(* otto_driver::close)(struct otto_device *)
 

int(* otto_driver::control)(struct otto_device *, int, void *, int)
 

char* otto_driver::desc
 

Driver description.

struct otto_device* otto_driver::dev_first
 

Pointer to list of devices open on this driver.

char* otto_driver::license
 

Driver license.

char* otto_driver::name
 

Driver name.

struct otto_driver* otto_driver::next
 

Next pointer for device list.

struct otto_device*(* otto_driver::open)(const char *)
 

int(* otto_driver::read)(struct otto_device *, int, union otto_packet *)
 

int(* otto_driver::write)(struct otto_device *, int, union otto_packet *)
 


The documentation for this struct was generated from the following file:
Generated on Thu Jul 8 19:26:08 2004 for OpenOtto by doxygen 1.3.7