]> git.ipfire.org Git - thirdparty/kmod.git/commit
Add scratchbuf implementation
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 10 Aug 2016 17:20:32 +0000 (14:20 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 15 Aug 2016 13:26:42 +0000 (10:26 -0300)
commit780a4e97e23f0fe961e29ea3b57f5713cfca73a8
tree808c65c8964ba2071a644151e9f3e3b6fa041111
parenta6421a04e02746af273fed873ff038d81a828f7f
Add scratchbuf implementation

This should fill the requirements for "we need to loop over a lot of
strings that usually are small enough to remain on stack, but we want to
protect ourselves against huge strings not fitting in the static
buffer we estimated as sufficient"
Makefile.am
shared/scratchbuf.c [new file with mode: 0644]
shared/scratchbuf.h [new file with mode: 0644]
testsuite/.gitignore
testsuite/test-scratchbuf.c [new file with mode: 0644]