new function for file input. rewind the filedescriptor to the current
authorTim Janik <timj@gtk.org>
Wed, 28 Oct 1998 01:32:54 +0000 (01:32 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 28 Oct 1998 01:32:54 +0000 (01:32 +0000)
commit7428120d37820cfc6a16c324e1d23366039a21d3
treec335c580c9a2e16b88643c32e351d2940ca22437
parent167b4fbbfc90cdd220db856a31f8c6634dbdfb35
new function for file input. rewind the filedescriptor to the current

Tue Oct 27 07:25:53 1998  Tim Janik  <timj@gtk.org>

        * glib.h:
        * gscanner.c:
        (g_scanner_sync_file_offset): new function for file input.
        rewind the filedescriptor to the current buffer position and blow
        the file read ahead buffer. usefull for third party uses of our
        filedescriptor, which hooks onto the current scanning position.
        (this became neccessary with the implementation of buffered
        reads).
        (g_scanner_input_file):
        (g_scanner_input_text): automatically blow the read ahead buffer.
        (g_scanner_get_char): blow the read ahead buffer when the end of
        input is reached, i.e. a '\000' char is read.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib.h
glib/glib.h
glib/gscanner.c
gscanner.c