Andreas Gustafsson
74da83876c
don't do pointer arithmetic on null pointers
1999-10-30 01:35:18 +00:00
Andreas Gustafsson
e5b0c46fbb
added isc_buffer_putmem()
1999-10-29 23:50:55 +00:00
David Lawrence
c910282c40
Shut up MSVC++ compiler warning about loss of precision when assigning
...
8 bits masked out of a 32 bit int to individual bytes.
1999-09-23 17:54:57 +00:00
Bob Halley
cae6ddd340
add isc_buffer_copyregion
1999-09-22 00:35:59 +00:00
Michael Graff
07a9b8b588
Make a few helper macros which will return lengths of regions rather than
...
requiring an isc_region_t to fill in. Use these macros in a few places.
1999-09-10 21:13:39 +00:00
Michael Graff
3df43dad43
Make the ISC_BUFFER_VALID() be exported from buffer.h, so bufferlist.h
...
can use internal buffer pointers without fear by first performing the
same validity check used in the buffer.c file. This eliminates a
function call inside a loop, and the bufferlist.c file is really a
superset of buffers in many ways already.
1999-09-10 01:54:08 +00:00
Michael Graff
e4f133deed
Add isc_buffer_usedcount() and availablecount() -- which should become macros
1999-09-06 04:45:13 +00:00
Michael Graff
4556681e19
snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes
1999-09-02 02:10:44 +00:00
Brian Wellington
71b306bf33
add isc_buffer_{get,put}uint8
1999-05-18 13:44:52 +00:00
Michael Graff
84d79ecd50
implement isc_dynbuffer_reset()
1999-04-29 05:59:51 +00:00
Michael Graff
441a57f959
Add support for dyamic buffers. These are allocated using
...
isc_dynbuffer_allocate() and freed with isc_dynbuffer_free(), and are
a linkable buffer type with a built-in data area.
1999-04-19 23:56:36 +00:00
Michael Graff
22f735acbc
implement and use isc_buffer_putuint{16,32}()
1999-01-27 06:18:45 +00:00
Bob Halley
c98d185d0c
add active region; enforce invariants about current
1999-01-20 02:42:22 +00:00
Bob Halley
08dbab20ef
lint
1999-01-09 02:39:39 +00:00
Bob Halley
63bd57250e
add isc_buffer_getuint{16,32}
1999-01-07 02:06:48 +00:00
Bob Halley
005df5aba5
change from current pointer to current offset, other improvements
1999-01-06 05:37:54 +00:00
Bob Halley
3740b569ae
the great type change
1998-12-13 23:45:21 +00:00
Bob Halley
1633838b82
update copyrights
1998-12-12 20:48:14 +00:00
Bob Halley
d25afd60ee
include config.h
1998-12-12 19:25:20 +00:00
Bob Halley
7b5e3afd21
buffer.c
1998-10-29 02:01:29 +00:00