Add some comments plus fix a possible mem leak
[eleutheria.git] / cdev / mydev.h
blobcbffd0b076ad75c525b85778486af9f7665cf92e
1 /*
3 * Definitions for the Mydev pseudo device.
5 */
6 #include <sys/param.h>
7 #include <sys/device.h>
9 #ifndef MYDEV_H
10 #define MYDEV_H 1
12 struct mydev_params
14 int number;
15 char string[80];
18 #define MYDEVTEST _IOW('S', 0x1, struct mydev_params)
19 #define MYDEVSETPROPS _IOW('S', 0x2, struct plistref)
21 #ifdef _KERNEL
24 * Put kernel inter-module interfaces here, this
25 * pseudo device has none.
28 #endif
29 #endif