Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / anon_inodes.h
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
11 struct file_operations;
12
13 struct file *anon_inode_getfile(const char *name,
14                                 const struct file_operations *fops,
15                                 void *priv, int flags);
16 struct file *anon_inode_getfile_private(const char *name,
17                                 const struct file_operations *fops,
18                                 void *priv, int flags);
19 int anon_inode_getfd(const char *name, const struct file_operations *fops,
20                      void *priv, int flags);
21
22 #endif /* _LINUX_ANON_INODES_H */
23