|
Last change
on this file since 52 was
2,
checked in by jglee, 11 years ago
|
|
first commit
|
-
Property svn:executable set to
*
|
|
File size:
732 bytes
|
| Line | |
|---|
| 1 | #ifndef _LINUX_FCNTL_H |
|---|
| 2 | #define _LINUX_FCNTL_H |
|---|
| 3 | |
|---|
| 4 | #include <asm/fcntl.h> |
|---|
| 5 | |
|---|
| 6 | #define F_SETLEASE (F_LINUX_SPECIFIC_BASE+0) |
|---|
| 7 | #define F_GETLEASE (F_LINUX_SPECIFIC_BASE+1) |
|---|
| 8 | |
|---|
| 9 | /* |
|---|
| 10 | * Request nofications on a directory. |
|---|
| 11 | * See below for events that may be notified. |
|---|
| 12 | */ |
|---|
| 13 | #define F_NOTIFY (F_LINUX_SPECIFIC_BASE+2) |
|---|
| 14 | |
|---|
| 15 | /* |
|---|
| 16 | * Types of directory notifications that may be requested. |
|---|
| 17 | */ |
|---|
| 18 | #define DN_ACCESS 0x00000001 /* File accessed */ |
|---|
| 19 | #define DN_MODIFY 0x00000002 /* File modified */ |
|---|
| 20 | #define DN_CREATE 0x00000004 /* File created */ |
|---|
| 21 | #define DN_DELETE 0x00000008 /* File removed */ |
|---|
| 22 | #define DN_RENAME 0x00000010 /* File renamed */ |
|---|
| 23 | #define DN_ATTRIB 0x00000020 /* File changed attibutes */ |
|---|
| 24 | #define DN_MULTISHOT 0x80000000 /* Don't remove notifier */ |
|---|
| 25 | |
|---|
| 26 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.