summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-05-11 15:31:33 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-05-11 15:31:33 +0200
commit818bf75711938460f43815cfcca8dab16a93ac97 (patch)
tree8ead1222ba3f11eeda6f44dea46de6d6783f4ff6 /inotail.h
parent1ad0b7abeb5ac5cd310f5c9ad32d3e1af42bdc78 (diff)
simpletail is the new inotail
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/inotail.h b/inotail.h
index 50cf329..226c1ca 100644
--- a/inotail.h
+++ b/inotail.h
@@ -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[] = {