diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-01-26 21:58:58 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2009-01-26 21:58:58 +0100 |
commit | a76fa322044d2de630a28b493b953da5aa38c906 (patch) | |
tree | 8bb55ec2de74851de5da6811b5f4fabcc0c29d15 /inotail.h | |
parent | e961d4e2d745d6d299a49e2caec14b8e295d2e58 (diff) |
Prepare for -F/--follow=name options (no effect yet)
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 { |