summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_spf.h
diff options
context:
space:
mode:
authorpaul <paul>2005-02-14 23:47:47 +0000
committerpaul <paul>2005-02-14 23:47:47 +0000
commit050c013ac35337d86b03f140fb17d2e8e33a8baa (patch)
tree7241e3972e2116f67b762a37305c31ee7d8d9671 /ospf6d/ospf6_spf.h
parentf2e6c429375adf0d3c5deaa409734d5d41ac15ce (diff)
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 'ospf6d/ospf6_spf.h')
0 files changed, 0 insertions, 0 deletions