Rev 4153 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4327 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | #ifndef KERN_SRLN_H_ |
36 | #ifndef KERN_SRLN_H_ |
37 | #define KERN_SRLN_H_ |
37 | #define KERN_SRLN_H_ |
38 | 38 | ||
39 | #include <console/chardev.h> |
39 | #include <console/chardev.h> |
- | 40 | #include <proc/thread.h> |
|
40 | 41 | ||
- | 42 | typedef struct { |
|
- | 43 | thread_t *thread; |
|
- | 44 | ||
- | 45 | indev_t *sink; |
|
- | 46 | indev_t raw; |
|
- | 47 | } srln_instance_t; |
|
- | 48 | ||
41 | extern void srln_init(indev_t *devin); |
49 | extern srln_instance_t *srln_init(void); |
- | 50 | extern indev_t *srln_wire(srln_instance_t *, indev_t *); |
|
42 | 51 | ||
43 | #endif |
52 | #endif |
44 | 53 | ||
45 | /** @} |
54 | /** @} |
46 | */ |
55 | */ |