Davide Libenzi | 5dc8bf8 | 2007-05-10 22:23:11 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/linux/anon_inodes.h |
| 3 | * |
| 4 | * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org> |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef _LINUX_ANON_INODES_H |
| 9 | #define _LINUX_ANON_INODES_H |
| 10 | |
Tomasz Stanislawski | e46ebd2 | 2011-07-12 11:27:20 +0200 | [diff] [blame] | 11 | struct file_operations; |
| 12 | |
Davide Libenzi | 562787a | 2009-09-22 16:43:57 -0700 | [diff] [blame] | 13 | struct file *anon_inode_getfile(const char *name, |
| 14 | const struct file_operations *fops, |
| 15 | void *priv, int flags); |
Gu Zheng | 5570869 | 2013-07-16 17:56:12 +0800 | [diff] [blame^] | 16 | struct file *anon_inode_getfile_private(const char *name, |
| 17 | const struct file_operations *fops, |
| 18 | void *priv, int flags); |
Al Viro | 2030a42 | 2008-02-23 06:46:49 -0500 | [diff] [blame] | 19 | int anon_inode_getfd(const char *name, const struct file_operations *fops, |
Ulrich Drepper | 7d9dbca | 2008-07-23 21:29:22 -0700 | [diff] [blame] | 20 | void *priv, int flags); |
Davide Libenzi | 5dc8bf8 | 2007-05-10 22:23:11 -0700 | [diff] [blame] | 21 | |
| 22 | #endif /* _LINUX_ANON_INODES_H */ |
| 23 | |