Added SILC Buffer Stream API
authorPekka Riikonen <priikone@silcnet.org>
Tue, 17 Jun 2008 15:34:33 +0000 (18:34 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 17 Jun 2008 15:34:33 +0000 (18:34 +0300)
commitc22cb24cf6491d315f26416c276141918207190c
treed89b1653238924559b5c09589fc0ffabbefbf5aa
parent6e8488ced827350e5c0e95f7a9feffdd80281eae
Added SILC Buffer Stream API

Buffer stream interface to send and receive buffers.  The benefit of this
interface is that the receiver need not parse buffers from the received
data but each buffer sent is delivered separately to the receiver
callback, even if multiple buffers were received at the same time.  The
length of the buffer is delivered with the data.  The buffer data follows
a 32-bit length field in the stream.
lib/silcutil/Makefile.ad
lib/silcutil/silcbufferstream.c [new file with mode: 0644]
lib/silcutil/silcbufferstream.h [new file with mode: 0644]
lib/silcutil/silcruntime.h.in
lib/silcutil/tests/Makefile.am
lib/silcutil/tests/test_silcbufferstream.c [new file with mode: 0644]