more changes on original files
[linux-2.4.git] / include / asm-x86_64 / ioctl32.h
1 #ifndef IOCTL32_H
2 #define IOCTL32_H 1
3
4 struct file;
5
6 int sys_ioctl(unsigned int, unsigned int, unsigned long);
7
8 /* 
9  * Register an 32bit ioctl translation handler for ioctl cmd.
10  *
11  * handler == NULL: use 64bit ioctl handler.
12  * arguments to handler:  fd: file descriptor
13  *                        cmd: ioctl command.
14  *                        arg: ioctl argument
15  *                        struct file *file: file descriptor pointer.
16  */ 
17
18 extern int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file *));
19
20 extern int unregister_ioctl32_conversion(unsigned int cmd);
21
22
23 #endif