summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/inotail.h b/inotail.h
index f9eabba..5029540 100644
--- a/inotail.h
+++ b/inotail.h
@@ -32,6 +32,13 @@ struct line_buf {
struct line_buf *next;
};
+/* struct for linked list of byte buffers in tail_pipe_bytes */
+struct char_buf {
+ char buf[BUFSIZ];
+ size_t n_bytes;
+ struct char_buf *next;
+};
+
#define IS_PIPELIKE(mode) \
(S_ISFIFO(mode) || S_ISSOCK(mode))