diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-09-07 12:43:56 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-09-07 12:43:56 +0200 |
commit | fb63f7543d0e5a79bcd9cc1b4650360267314703 (patch) | |
tree | e734b5e05d379eec3be3dab4df4a6aaccb471752 /inotail.h | |
parent | 6bd2fd4980190c05ccfde6474f380082a6cfcaeb (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ }; |