From a76fa322044d2de630a28b493b953da5aa38c906 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 26 Jan 2009 21:58:58 +0100 Subject: Prepare for -F/--follow=name options (no effect yet) --- inotail.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'inotail.h') diff --git a/inotail.h b/inotail.h index d483e02..05995dc 100644 --- a/inotail.h +++ b/inotail.h @@ -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 { -- cgit v1.2.3-54-g00ecf