summaryrefslogtreecommitdiffstats
path: root/src/libply/ply-buffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Add new ply_buffer_steal_bytes methodRay Strode2008-05-281-0/+1
| | | | | | This function disowns the bytes in the buffer and returns them to the caller. It's useful for freeing the buffer, but keeping the bytes around without doing a copy.
* Add new ply_buffer_remove_bytes_at_endRay Strode2008-05-221-0/+2
| | | | | | This function is like ply_buffer_remove_bytes, but it truncates away the end of the buffer instead of shifting the contents over the start of the buffer.
* export ply_buffer_decapitate function as ply_buffer_remove_bytesRay Strode2008-05-181-0/+2
|
* Add new ply_buffer_append_from_fd functionRay Strode2008-05-181-0/+3
| | | | This function just reads a chunk of bytes from and fd and adds the bytes to the buffer.
* add new ply-buffer classRay Strode2008-05-181-0/+49
Copy and paste ply-logger into a more general ply-buffer class, so we have a facility to buffer key strokes and process them as necessary