Commit Graph

7 Commits

Author SHA1 Message Date
Robert James Kaes
e9cfd1f82e makenewline() now copies the data into the structure rather than just
storing the pointer to the data.
add_to_buffer() is now exported.
Renamed writebuff() and readbuff() to write_buffer() and read_buffer().
2001-11-25 22:05:42 +00:00
Robert James Kaes
787ece6c01 Reformated text. 2001-11-22 00:31:10 +00:00
Robert James Kaes
270af08171 Removed the buffer_size() function and turned it into BUFFER_SIZE() macro.
Moved the struct buffer_s into the header file. Added more assert() calls
to better document the assumptions the functions make. Removed incorrect
code in remove_from_buffer() which was never actually called anyway.
2001-11-05 15:23:05 +00:00
Robert James Kaes
23c08ca3ee Changed the types for various variables. Some the functions had the
variable types changed as well.
2001-05-27 02:23:08 +00:00
Robert James Kaes
b7f7599d76 Cleaned up the source so that the internal structure is no exposed by the
buffer.h header.
2000-09-11 23:41:32 +00:00
Robert James Kaes
ae347fc87a Added the working_* fields as a scratch pad for readline(). 2000-03-31 20:09:19 +00:00
Steven Young
37e63909c0 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
2000-02-16 17:32:49 +00:00