xref: /openbmc/linux/include/linux/anon_inodes.h (revision e8f6f3b4)
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 int anon_inode_getfd(const char *name, const struct file_operations *fops,
17 		     void *priv, int flags);
18 
19 #endif /* _LINUX_ANON_INODES_H */
20 
21