diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-10-25 00:10:58 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-10-25 00:10:58 +0200 |
commit | f09e7bf71c2b64df952650623fcd0b870c596ca4 (patch) | |
tree | f54b3b1d3d98cf713451bd92f4803268b7f232f4 /inotail.h | |
parent | 335ae486e4470591f629a30282e2605ec06d8a22 (diff) |
Various change to allow tailing bytes relative to the begin
"Simplyfy" and inline bytes_to_offset, extend it to support tailing
relative to begin of file.
Boolean relative makes no sense, make it a char containing 0 for relative
to end and 1 for relative to begin.
Diffstat (limited to 'inotail.h')
-rw-r--r-- | inotail.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -7,9 +7,6 @@ /* tail modes */ enum { M_LINES, M_BYTES }; -/* tail unit relative to the end ('-' or none) or the beginning ('+' of the file) */ -enum { R_END, R_BEGIN }; - /* Every tailed file is represented as a file_struct */ struct file_struct { char *name; /* Name of file (or '-' for stdin) */ |