From f09e7bf71c2b64df952650623fcd0b870c596ca4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 25 Oct 2006 00:10:58 +0200 Subject: 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. --- inotail.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'inotail.h') diff --git a/inotail.h b/inotail.h index a1ec676..34118f7 100644 --- a/inotail.h +++ b/inotail.h @@ -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) */ -- cgit v1.2.3-54-g00ecf