From 9f286218b4644920c97bd44b36c090c6f3110e2d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 17 Jul 2006 18:55:20 +0200 Subject: Clean up header and remove ignore field in file_struct (as not really needed atm) --- inotail.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'inotail.h') diff --git a/inotail.h b/inotail.h index c2efbe8..882d78d 100644 --- a/inotail.h +++ b/inotail.h @@ -11,24 +11,11 @@ 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 */ - int ignore:1; /* Ignore file? */ off_t st_size; /* File size */ - int i_watch; /* Inotify watch associated with file_struct */ + int i_watch; /* Inotify watch associated with file_struct */ }; -/* -struct option const long_options[] = { - {"lines", required_argument, NULL, 'n'}, - {"quiet", no_argument, NULL, 'q'}, - {"silent", no_argument, NULL, 'q'}, - {"verbose", no_argument, NULL, 'v'}, - {"help", no_argument, NULL, 'h'}, - {"version", no_argument, NULL, 'V'}, - {NULL, 0, NULL, 0} -}; -*/ - #ifdef DEBUG #define dprintf(fmt, args...) fprintf(stderr, fmt, ##args) #else -- cgit v1.2.3-54-g00ecf