summaryrefslogtreecommitdiff
path: root/src/dad/main.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-02-24 18:47:12 +0100
committerDimitri Staessens <[email protected]>2016-02-24 21:05:39 +0100
commitd56e26e48bf26d253655faf294608c6b069ccdce (patch)
treeaf9f9047a4467034fb553b9bb2a7f25d35a0ca2d /src/dad/main.c
parent531f89e0e819b8e75f746609aa81b454f0e2eb64 (diff)
downloadouroboros-d56e26e48bf26d253655faf294608c6b069ccdce.tar.gz
ouroboros-d56e26e48bf26d253655faf294608c6b069ccdce.zip
lib: Changes to du_buff structure
du_buff.c : Will now allocate memory only upon init, not upon create. User can add compiler flag DU_BUFF_BLOCKSIZE to set the size of a du_buff memory block. If the size for the du_buff is larger than DU_BUFF_BLOCKSIZE, the du_buff will be structured as follows: HEAD -> DATA_BLOCK -> ... -> DATA_BLOCK -> TAIL HEAD and TAIL are contiguous and may be larger than DU_BUFF_BLOCKSIZE if required.
Diffstat (limited to 'src/dad/main.c')
0 files changed, 0 insertions, 0 deletions