summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-09-07 12:43:56 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-09-07 12:43:56 +0200
commitfb63f7543d0e5a79bcd9cc1b4650360267314703 (patch)
treee734b5e05d379eec3be3dab4df4a6aaccb471752 /inotail.h
parent6bd2fd4980190c05ccfde6474f380082a6cfcaeb (diff)
Rename file_struct members
The rationale behind this is to only use the 'st_' prefix for values gotten by calls to fstat()
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inotail.h b/inotail.h
index f7c1406..c95c4f8 100644
--- a/inotail.h
+++ b/inotail.h
@@ -19,8 +19,8 @@ enum { M_LINES, M_BYTES };
struct file_struct {
char *name; /* Name of file (or '-' for stdin) */
int fd; /* File descriptor (or -1 if file is not open */
- off_t st_size; /* File size */
- blksize_t st_blksize; /* Blocksize for filesystem I/O */
+ off_t size; /* File size */
+ blksize_t blksize; /* Blocksize for filesystem I/O */
unsigned ignore; /* Whether to ignore the file in further processing */
int i_watch; /* Inotify watch associated with file_struct */
};