2003-11-03 09:47:30 +00:00
|
|
|
/*-
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* "THE BEER-WARE LICENSE" (Revision 42):
|
|
|
|
* <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
|
|
|
|
* can do whatever you want with this stuff. If we meet some day, and you think
|
|
|
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
*
|
2004-05-10 11:50:21 +00:00
|
|
|
* $FreeBSD$
|
2003-11-03 09:47:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DEV_LED_H
|
|
|
|
#define _DEV_LED_H
|
|
|
|
|
|
|
|
typedef void led_t(void *, int);
|
|
|
|
|
2007-04-23 12:42:15 +00:00
|
|
|
struct cdev *led_create_state(led_t *, void *, char const *, int);
|
2004-06-16 09:47:26 +00:00
|
|
|
struct cdev *led_create(led_t *, void *, char const *);
|
|
|
|
void led_destroy(struct cdev *);
|
2004-05-10 11:50:21 +00:00
|
|
|
|
|
|
|
#endif
|