summaryrefslogblamecommitdiff
path: root/include/linux/anon_inodes.h
blob: d0d7d96261adf11b9a7dec250918b38470141852 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                      









                                                                

                       


                                                                   
                                                                          
                                            


                                 
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  include/linux/anon_inodes.h
 *
 *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
 *
 */

#ifndef _LINUX_ANON_INODES_H
#define _LINUX_ANON_INODES_H

struct file_operations;

struct file *anon_inode_getfile(const char *name,
				const struct file_operations *fops,
				void *priv, int flags);
int anon_inode_getfd(const char *name, const struct file_operations *fops,
		     void *priv, int flags);

#endif /* _LINUX_ANON_INODES_H */