2014-02-06 07:52:49 +01:00
|
|
|
/*
|
|
|
|
* Wrapper functions for accessing the file_struct fd array.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LINUX_FILE_H
|
|
|
|
#define __LINUX_FILE_H
|
2016-02-26 20:23:56 +01:00
|
|
|
|
|
|
|
#include <linux/compiler.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/posix_types.h>
|
|
|
|
|
2014-08-23 12:29:27 +02:00
|
|
|
struct file;
|
2016-02-26 20:23:56 +01:00
|
|
|
extern void fput(struct file *);
|
|
|
|
extern struct file *fget(unsigned int fd);
|
2014-02-06 07:52:49 +01:00
|
|
|
#endif /* __LINUX_FILE_H */
|