]> git.puffer.fish Git - matthieu/frr.git/commit
[stream] Add quad-word support and stream_resize
authorpaul <paul>
Tue, 10 Jan 2006 14:35:19 +0000 (14:35 +0000)
committerpaul <paul>
Tue, 10 Jan 2006 14:35:19 +0000 (14:35 +0000)
commit4b201d46348b81bd9d59aa626c81f7457ea6ef38
treeb841d11214e5ec8ff4904d193c5e0b7c4e741a50
parente14b7fca6279fe9dc41c8aa9816b5685952c4b19
[stream] Add quad-word support and stream_resize

2006-01-10 Paul Jakma <paul.jakma@sun.com>

* stream.c: (stream_new) Allocate stream data as seperate object.
  (stream_free) free the data.
  (stream_resize) new function, resize stream to new size.
  (stream_{get,put}q*) new functions to get/put quad word size
  types.
* stream.h: (struct stream) make data seperate from the stream.
  Export new stream_resize and quad-word get/put functions.
lib/ChangeLog
lib/stream.c
lib/stream.h