diff options
author | paul <paul> | 2005-02-14 23:47:47 +0000 |
---|---|---|
committer | paul <paul> | 2005-02-14 23:47:47 +0000 |
commit | cd179c643eeb74e94aab93226f22829e139270f6 (patch) | |
tree | 5a06fed078f0df6da826d48f461befbe498c6c1c /zebra/rt_netlink.c | |
parent | 5a4caae34acadc49aaa6a3c21116b70a66136606 (diff) | |
download | quagga-cd179c643eeb74e94aab93226f22829e139270f6.tar.bz2 quagga-cd179c643eeb74e94aab93226f22829e139270f6.tar.xz |
2005-02-14 Paul Jakma <paul.jakma@sun.com>
* stream.h: Unsigned long updated to size_t
* stream.c: ditto
* stream.h: Add stream_copy, stream_dup, stream_recvmsg.
Add comment describing struct stream abstraction, and various
other comments.
Deprecate several unsafe/ambigious macros.
Add STREAM_WRITEABLE and STREAM_READABLE.
Add (stream_getl_from) for symmetry.
Update stream_forward_{endp,getp} to use size_t offset.
Make stream data a 0 length array, rather than a seperate malloc.
* stream.c: Add consistency checks. Update to follow stream.h
changes.
(stream_new) Alloc stream+data in one go.
(stream_copy) new function, copy a stream.
(stream_dup) new function, dup a stream.
(stream_recvmsg) new function, recvmsg data into a stream.
(stream_empty) no need to check getp == 0.
Diffstat (limited to 'zebra/rt_netlink.c')
0 files changed, 0 insertions, 0 deletions