Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef IOCTL32_H |
| 2 | #define IOCTL32_H 1 |
| 3 | |
Christoph Hellwig | 22a685d | 2005-04-16 15:25:48 -0700 | [diff] [blame] | 4 | #include <linux/compiler.h> /* for __deprecated */ |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | struct file; |
| 7 | |
| 8 | typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, |
| 9 | unsigned long, struct file *); |
| 10 | |
| 11 | struct ioctl_trans { |
| 12 | unsigned long cmd; |
| 13 | ioctl_trans_handler_t handler; |
| 14 | struct ioctl_trans *next; |
| 15 | }; |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #endif |