]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/anon_inodes.h
netfilter: add helper function to set up the nfnetlink header and use it
[mirror_ubuntu-jammy-kernel.git] / include / linux / anon_inodes.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * include/linux/anon_inodes.h
4 *
5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 *
7 */
8
9 #ifndef _LINUX_ANON_INODES_H
10 #define _LINUX_ANON_INODES_H
11
12 struct file_operations;
13 struct inode;
14
15 struct file *anon_inode_getfile(const char *name,
16 const struct file_operations *fops,
17 void *priv, int flags);
18 int anon_inode_getfd(const char *name, const struct file_operations *fops,
19 void *priv, int flags);
20 int anon_inode_getfd_secure(const char *name,
21 const struct file_operations *fops,
22 void *priv, int flags,
23 const struct inode *context_inode);
24
25 #endif /* _LINUX_ANON_INODES_H */
26