minimal_driver.c
This example is discussed in Writing a new device driver
00001 00002 #include <devbot/core/driver.h> 00003 00004 static gpointer get_interface(BotDevice *device, BotInterface *interface) 00005 { 00006 return NULL; 00007 } 00008 00009 BOT_DRIVER_BOILERPLATE("minimal", /* Name */ 00010 "A minimal driver", /* Description */ 00011 "1.0", /* Version string */ 00012 NULL, /* Driver initializer */ 00013 NULL, /* Driver destructor */ 00014 NULL, /* Device initializer */ 00015 NULL, /* Device destructor */ 00016 &get_interface) 00017
(c) 2006 Edinburgh Robotics Ltd.
Generated on Fri Feb 2 11:24:04 2007 for libbot by doxygen 1.5.1