diff options
author | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-05-11 15:31:33 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-05-11 15:31:33 +0200 |
commit | 818bf75711938460f43815cfcca8dab16a93ac97 (patch) | |
tree | 8ead1222ba3f11eeda6f44dea46de6d6783f4ff6 /inotail.h | |
parent | 1ad0b7abeb5ac5cd310f5c9ad32d3e1af42bdc78 (diff) |
simpletail is the new inotail
Diffstat (limited to 'inotail.h')
-rw-r--r-- | inotail.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,12 +10,12 @@ /* Every tailed file is represented as a file_struct */ struct file_struct { - char *name; /* Name of file (or '-' for stdin) */ - int fd; /* File descriptor (or -1 if file is not open */ - int ignore:1; /* Ignore file? */ + char *name; /* Name of file (or '-' for stdin) */ + int fd; /* File descriptor (or -1 if file is not open */ + int ignore:1; /* Ignore file? */ + off_t st_size; /* File size */ int i_watch; /* Inotify watch associated with file_struct */ - }; struct option const long_options[] = { |