blob: 948809d999177867fb0820236f32e59a3d7ce52a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef IOCTL32_H
2#define IOCTL32_H 1
3
Christoph Hellwig22a685d2005-04-16 15:25:48 -07004#include <linux/compiler.h> /* for __deprecated */
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006struct file;
7
8typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int,
9 unsigned long, struct file *);
10
11struct ioctl_trans {
12 unsigned long cmd;
13 ioctl_trans_handler_t handler;
14 struct ioctl_trans *next;
15};
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#endif