diff options
author | Subbaiah Venkata <svenkata@google.com> | 2012-03-24 13:10:19 -0700 |
---|---|---|
committer | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-04-07 13:53:40 -0700 |
commit | d531050b7bf0f93d4d29a7a2f7b745641778b483 (patch) | |
tree | 82e45741fa3883f6e25a38f2abef4eea107fd54f /lib/vector.h | |
parent | bed930fd70742af5ae138e0a5ee629dda296ea36 (diff) |
lib: add stream_set_endp()
* lib/stream.[ch]:
- Add stream_set_endp(). This can be used to trim data (for
example, padding) at the end of a stream.
- Fix swapped 'getp' and 'endp' parameters in STREAM_WARN_OFFSETS.
From: Subbaiah Venkata <svenkata@google.com>
Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/vector.h')
0 files changed, 0 insertions, 0 deletions