xref: /openbmc/linux/include/linux/anon_inodes.h (revision 562787a5)
15dc8bf81SDavide Libenzi /*
25dc8bf81SDavide Libenzi  *  include/linux/anon_inodes.h
35dc8bf81SDavide Libenzi  *
45dc8bf81SDavide Libenzi  *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
55dc8bf81SDavide Libenzi  *
65dc8bf81SDavide Libenzi  */
75dc8bf81SDavide Libenzi 
85dc8bf81SDavide Libenzi #ifndef _LINUX_ANON_INODES_H
95dc8bf81SDavide Libenzi #define _LINUX_ANON_INODES_H
105dc8bf81SDavide Libenzi 
11562787a5SDavide Libenzi struct file *anon_inode_getfile(const char *name,
12562787a5SDavide Libenzi 				const struct file_operations *fops,
13562787a5SDavide Libenzi 				void *priv, int flags);
142030a42cSAl Viro int anon_inode_getfd(const char *name, const struct file_operations *fops,
157d9dbca3SUlrich Drepper 		     void *priv, int flags);
165dc8bf81SDavide Libenzi 
175dc8bf81SDavide Libenzi #endif /* _LINUX_ANON_INODES_H */
185dc8bf81SDavide Libenzi 
19