diff options
Diffstat (limited to 'kernel/include/linux/anon_inodes.h')
-rw-r--r-- | kernel/include/linux/anon_inodes.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/include/linux/anon_inodes.h b/kernel/include/linux/anon_inodes.h new file mode 100644 index 000000000..8013a4524 --- /dev/null +++ b/kernel/include/linux/anon_inodes.h @@ -0,0 +1,20 @@ +/* + * 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 */ + |