summaryrefslogtreecommitdiff
path: root/inotail.h
AgeCommit message (Collapse)AuthorFilesLines
2009-01-25Make sure that st_blksize is greater than 0Tobias Klauser1-0/+2
2009-01-25Update copyrightTobias Klauser1-2/+2
2009-01-24Move linked list structs for pipe_{bytes,lines} into these functionsTobias Klauser1-15/+0
2009-01-18inotail.h: Use sys/inotify.hTobias Klauser1-1/+1
2008-05-10Resolve some merge conflicts.Tobias Klauser1-2/+1
2008-03-01Merge branch 'pipe'Tobias Klauser1-2/+16
Conflicts: inotail.c
2008-03-01Move all #define's except PROGRAM_NAME to inotail.hTobias Klauser1-6/+11
2007-09-25inotail.c: typdef mode_tTobias Klauser1-1/+1
2007-09-18inotail.c: Implement tail_pipe_bytes()Tobias Klauser1-0/+7
For now more or less a copy from coreutils
2007-09-18inotail.c: Use BUFSIZ and post-incrementTobias Klauser1-2/+1
For consistency reasons mostly :-)
2007-09-07Merge branch 'master' into pipeTobias Klauser1-2/+5
Conflicts: changelog inotail.c inotail.h
2007-09-07Rename file_struct membersTobias Klauser1-2/+2
The rationale behind this is to only use the 'st_' prefix for values gotten by calls to fstat()
2007-06-20inotail.h: Update copyrightTobias Klauser1-1/+1
2007-06-16Merge branch 'master' into buffersizeTobias Klauser1-0/+2
Conflicts: inotail.c
2007-06-11inotail.c/.h: Clean up a bitTobias Klauser1-2/+10
2007-06-11inotail.c/.h: Implement is_digit to save some bytes of ctype.h inclusionTobias Klauser1-0/+2
2007-05-21Use optimal buffer size depending on the filesystem containing the fileTobias Klauser1-0/+3
The st_blksize attribute of struct stat conatains the blocksize for filesystem I/O (see stat(2)) which is the optimal size for reading/writing chunks of data. Based on a patch by Folkert van Heusden
2006-12-14inotail.c: Move some macros to inotail.hTobias Klauser1-3/+8
Some typos and useless blank lines are also fixed.
2006-11-15Add license information to Makefile and inotail.hTobias Klauser1-0/+6
2006-10-25Various change to allow tailing bytes relative to the beginTobias Klauser1-3/+0
"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.
2006-10-21Unify wording all over the treeTobias Klauser1-2/+2
According to the Linux source it's: * s/linux/Linux/ * s/Kernel/kernel/ * s/Inotify/inotify/ (except at the beginning of a sentence)
2006-10-20inotail.c: Add basic support for +/-<num> to -c/-nTobias Klauser1-0/+3
2006-09-26Define unlikely() only for GCCTobias Klauser1-2/+5
Some compilers probably don't know __builtin_expect
2006-09-26Add unlikely macroTobias Klauser1-0/+3
And use it for a really unlikely case
2006-08-20Indent clenaupTobias Klauser1-2/+2
2006-08-12Added ignore flag to struct file_structTobias Klauser1-4/+6
2006-07-17Clean up header and remove ignore field in file_struct (as not really needed ↵Tobias Klauser1-14/+1
atm)
2006-07-01Further cleanupTobias Klauser1-3/+0
2006-07-01CleanupTobias Klauser1-2/+6
2006-05-11simpletail is the new inotailTobias Klauser1-4/+4
2006-03-13Initial importTobias Klauser1-0/+37