4 #include <linux/compiler.h> /* for __deprecated */
8 typedef int (*ioctl_trans_handler_t
)(unsigned int, unsigned int,
9 unsigned long, struct file
*);
13 ioctl_trans_handler_t handler
;
14 struct ioctl_trans
*next
;
18 * Register an 32bit ioctl translation handler for ioctl cmd.
20 * handler == NULL: use 64bit ioctl handler.
21 * arguments to handler: fd: file descriptor
24 * struct file *file: file descriptor pointer.
28 extern int __deprecated
register_ioctl32_conversion(unsigned int cmd
,
29 ioctl_trans_handler_t handler
);
30 extern int __deprecated
unregister_ioctl32_conversion(unsigned int cmd
);
34 #define register_ioctl32_conversion(cmd, handler) ({ 0; })
35 #define unregister_ioctl32_conversion(cmd) ({ 0; })