]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/proc.h
c07ab0afdaec9affcccdf7aba1bba98224f83470
[lincan.git] / lincan / include / proc.h
1 /* proc.h
2  * Header file for the Linux CAN-bus driver.
3  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
4  * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
5  * email:pisa@cmp.felk.cvut.cz
6  * This software is released under the GPL-License.
7  * Version lincan-0.2  9 Jul 2003
8  */
9
10 #include <linux/proc_fs.h>
11 #include "./constants.h"
12
13 int can_init_procdir(void);
14 int can_delete_procdir(void);
15
16 struct canproc_t {
17         struct proc_dir_entry *can_proc_entry;
18         struct channelproc_t *channel[MAX_TOT_CHIPS];
19 };
20
21 struct channelproc_t {
22         char ch_name[20];
23         struct proc_dir_entry *ch_entry;
24         struct objectproc_t *object[MAX_MSGOBJS];
25 };
26
27
28 struct objectproc_t {
29         char obj_name[20];
30         struct proc_dir_entry *obj_entry;
31         char lnk_name[20];
32         char lnk_dev[20];
33         struct proc_dir_entry *lnk;
34 };