Subversion Repositories Kolibri OS

Rev

Rev 6934 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4559 Serge 1
/*
2
 * Wrapper functions for accessing the file_struct fd array.
3
 */
4
 
5
#ifndef __LINUX_FILE_H
6
#define __LINUX_FILE_H
6293 serge 7
 
8
#include 
9
#include 
10
#include 
11
 
5056 serge 12
struct file;
6336 serge 13
 
6293 serge 14
extern void fput(struct file *);
7143 serge 15
 
16
struct file_operations;
17
struct vfsmount;
18
struct dentry;
19
struct path;
6934 serge 20
struct fd {
21
	struct file *file;
22
	unsigned int flags;
23
};
24
#define FDPUT_FPUT       1
25
#define FDPUT_POS_UNLOCK 2
6293 serge 26
extern struct file *fget(unsigned int fd);
4559 Serge 27
#endif /* __LINUX_FILE_H */