1105197Ssam/*-
2105197Ssam * ----------------------------------------------------------------------------
3105197Ssam * "THE BEER-WARE LICENSE" (Revision 42):
4139823Simp * <phk@FreeBSD.org> wrote this file.  As long as you retain this notice you
5105197Ssam * can do whatever you want with this stuff. If we meet some day, and you think
6105197Ssam * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
7105197Ssam * ----------------------------------------------------------------------------
8105197Ssam *
9105197Ssam * $FreeBSD$
10105197Ssam */
11105197Ssam
12105197Ssam#ifndef _DEV_LED_H
13105197Ssam#define _DEV_LED_H
14105197Ssam
15105197Ssamtypedef	void led_t(void *, int);
16105197Ssam
17105197Ssamstruct cdev *led_create_state(led_t *, void *, char const *, int);
18105197Ssamstruct cdev *led_create(led_t *, void *, char const *);
19105197Ssamvoid	led_destroy(struct cdev *);
20105197Ssam
21105197Ssamint	led_set(char const *, char const *);
22105197Ssam
23105197Ssam#endif
24105197Ssam