kernel - Fix auto port assignment collision in network code
[dragonfly.git] / sys / dev / misc / led / led.h
blobdc2baa0be818fd1290ea165b1cd2c5a2f2d999d5
1 /*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
9 * $FreeBSD: head/sys/dev/led/led.h 219951 2011-03-24 08:56:12Z mav $
12 #ifndef _DEV_LED_H
13 #define _DEV_LED_H
15 typedef void led_t(void *, int);
17 struct cdev *led_create_state(led_t *, void *, char const *, int);
18 struct cdev *led_create(led_t *, void *, char const *);
19 void led_destroy(struct cdev *);
21 int led_set(char const *, char const *);
23 #endif