summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-01-24 13:58:35 +0100
committerTobias Klauser <tklauser@distanz.ch>2009-01-24 13:58:35 +0100
commitb4d83d2e6ae0ec475371ca0fd400e72edc539710 (patch)
tree6e80738e6b5ff1673f984174392ec8a8dd7b032f /inotail.h
parentf6ae74eb0e94facb9fea8002ea86b5af1f6e593e (diff)
Move linked list structs for pipe_{bytes,lines} into these functions
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/inotail.h b/inotail.h
index 93011e6..3d6c232 100644
--- a/inotail.h
+++ b/inotail.h
@@ -28,21 +28,6 @@ struct file_struct {
int i_watch; /* Inotify watch associated with file_struct */
};
-/* struct for linked list of buffers/lines in tail_pipe_lines */
-struct line_buf {
- char buf[BUFSIZ];
- size_t n_lines;
- size_t n_bytes;
- 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))