summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inotail.h b/inotail.h
index b47e6a4..40b0e29 100644
--- a/inotail.h
+++ b/inotail.h
@@ -7,6 +7,9 @@
/* 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) */