| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
du_buff.c : removed unnecessary variable for return values
removed unnecessary functions
|
|
|
|
| |
forgot spaces before/after +
|
|
|
|
| |
du_buff.c size_t now prints correctly as %llu
|
|
|
|
|
| |
The initial commit was untested and caused some segmentation faults.
This version should be bugfree (no promises).
|
|
|
|
| |
du_buff.c is now compliant with more stringent compiler flags
|
|
|
|
| |
Moved struct buffer and struct du_buff definitions to the source file.
|
|
|
|
|
|
| |
du_buff.h : moved struct buffer to source
du_buff.c : fixed formatting
LOG_DBGF used
|
|
Compiles but untested. Expect bugs.
|