blob: cf573c22b81ef4b1b1e602244119808f86f65871 [file] [log] [blame]
Davide Libenzi5dc8bf82007-05-10 22:23:11 -07001/*
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 Stanislawskie46ebd22011-07-12 11:27:20 +020011struct file_operations;
12
Davide Libenzi562787a2009-09-22 16:43:57 -070013struct file *anon_inode_getfile(const char *name,
14 const struct file_operations *fops,
15 void *priv, int flags);
Gu Zheng55708692013-07-16 17:56:12 +080016struct file *anon_inode_getfile_private(const char *name,
17 const struct file_operations *fops,
18 void *priv, int flags);
Al Viro2030a422008-02-23 06:46:49 -050019int anon_inode_getfd(const char *name, const struct file_operations *fops,
Ulrich Drepper7d9dbca2008-07-23 21:29:22 -070020 void *priv, int flags);
Davide Libenzi5dc8bf82007-05-10 22:23:11 -070021
22#endif /* _LINUX_ANON_INODES_H */
23