]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/can_iortl.h
Structured comments updated.
[lincan.git] / lincan / include / can_iortl.h
1 /* can_iortl.h - RT-Linux Posix file IO interface
2  * Linux CAN-bus device driver.
3  * RT-Linux support by Pavel Pisa - OCERA team member
4  * email:pisa@cmp.felk.cvut.cz
5  * This software is released under the GPL-License.
6  * Version lincan-0.2  9 Jul 2003
7  */
8
9 #ifndef _CAN_IORTL_H
10 #define _CAN_IORTL_H
11
12 #ifdef CAN_WITH_RTL
13
14 int can_open_rtl_posix(struct rtl_file *fptr);
15
16 int can_release_rtl_posix(struct rtl_file *fptr);
17
18 ssize_t can_read_rtl_posix(struct rtl_file *fptr, char *buffer,
19                                 size_t length, loff_t *ppos);
20
21 ssize_t can_write_rtl_posix(struct rtl_file *fptr, const char *buffer,
22                                  size_t length, loff_t *ppos);
23
24 int can_ioctl_rtl_posix(struct rtl_file *, unsigned int, unsigned long);
25
26 #endif /*CAN_WITH_RTL*/
27
28 #endif /*_CAN_IORTL_H*/