summaryrefslogtreecommitdiff
path: root/src/lib/du_buff.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Changes to du_buff structureDimitri Staessens2016-02-241-30/+51
| | | | | | | | | | | | | 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.
* lib: further cleanup of du_buffDimitri Staessens2016-02-241-33/+2
| | | | | du_buff.c : removed unnecessary variable for return values removed unnecessary functions
* lib: Fixed syntax formatting in du_buffDimitri Staessens2016-02-241-1/+1
| | | | forgot spaces before/after +
* lib: Fixed shoddy castDimitri Staessens2016-02-241-4/+2
| | | | du_buff.c size_t now prints correctly as %llu
* lib: bugfixes to du_buff.cDimitri Staessens2016-02-231-20/+41
| | | | | The initial commit was untested and caused some segmentation faults. This version should be bugfree (no promises).
* lib: fixed build errors in du_buffDimitri Staessens2016-02-231-5/+2
| | | | du_buff.c is now compliant with more stringent compiler flags
* du_buff: Restructured for information hidingDimitri Staessens2016-02-231-1/+9
| | | | Moved struct buffer and struct du_buff definitions to the source file.
* lib: cleanup of du_buffDimitri Staessens2016-02-231-21/+47
| | | | | | du_buff.h : moved struct buffer to source du_buff.c : fixed formatting LOG_DBGF used
* Initial du_buff codeDimitri Staessens2016-02-231-0/+333
Compiles but untested. Expect bugs.