src.text.dmesg: implement "seek beginning" and "can seek beginning" methods
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 19 Feb 2019 16:59:26 +0000 (11:59 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit1232ad99e905ca30c7b1b99187453e373d026aa0
tree9c6174bd2a0f3ff509aa500ddee0db30d4ecb84c
parent49e74c8efce8dc8d82c328beee7d4dc1b2b47bcc
src.text.dmesg: implement "seek beginning" and "can seek beginning" methods

It is possible to make a `src.text.dmesg` message iterator seek its
beginning when it's reading a file, not the standard input. Its "can
seek beginning" method indicates this.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/text/dmesg/dmesg.c
plugins/text/dmesg/dmesg.h
plugins/text/plugin.c
This page took 0.023906 seconds and 5 git commands to generate.