]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/proc.h
8a3d00491bc80ced5d6cd6040e48b7c1703b0621
[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  * This software is released under the GPL-License.
5  * Version 0.7  6 Aug 2001
6  */
7
8 #include <linux/proc_fs.h>
9 #include "./constants.h"
10
11 int can_init_procdir(void);
12 int can_delete_procdir(void);
13
14 struct canproc_t {
15         struct proc_dir_entry *can_proc_entry;
16         struct channelproc_t *channel[MAX_TOT_CHIPS];
17 };
18
19 struct channelproc_t {
20         char ch_name[20];
21         struct proc_dir_entry *ch_entry;
22         struct objectproc_t *object[MAX_MSGOBJS];
23 };
24
25
26 struct objectproc_t {
27         char obj_name[20];
28         struct proc_dir_entry *obj_entry;
29         char lnk_name[20];
30         char lnk_dev[20];
31         struct proc_dir_entry *lnk;
32 };