diff options
Diffstat (limited to 'inotail.h')
-rw-r--r-- | inotail.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,12 @@ /* tail modes */ enum tail_mode { M_LINES, M_BYTES }; +/* follow modes */ +enum follow_mode { + FOLLOW_NONE = 0, /* Do not follow the fiel at all */ + FOLLOW_DESCRIPTOR, /* Follow the file by fd */ + FOLLOW_NAME /* Follow the file by name */ +}; /* Every tailed file is represented as a file_struct */ struct file_struct { |