]> git.tuebingen.mpg.de Git - paraslash.git/commit
Introduce btr_pool_get_buffers().
authorAndre Noll <maan@systemlinux.org>
Sat, 13 Feb 2010 11:57:35 +0000 (12:57 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 13 Feb 2010 11:57:35 +0000 (12:57 +0100)
commit49fe9fc6200ec91f7feb811d7aacda44216828ec
tree48fbba835d45b29616cf6f6adf1a12fe73c18bdd
parent80b5eac6e7363199f62fc39e583a28ce898a0b2b
Introduce btr_pool_get_buffers().

This allows the users of the buffer pool API to obtain references to both parts
of the buffer pool area in case there is free space available at the end of the
area as well as at the beginning.

This is needed for reading from file descriptors where reading less than a full
datagram would discard the remaining part (DCCP and UDP).
buffer_tree.c
buffer_tree.h