util: add gz_readline
authorDavid Bremner <david@tethera.net>
Sat, 29 Mar 2014 17:53:17 +0000 (14:53 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 12 Apr 2014 10:59:44 +0000 (07:59 -0300)
commit85d9219a62c23c3ff58b42a63b65390526b89b6b
treefbf5b430c91b6ffa6b2c773c86184790232b2fe1
parent3c13bc0321baaf340663779d6fce2b1f34c1c2c3
util: add gz_readline

The idea is to provide a more or less drop in replacement for readline
to read from zlib/gzip streams.  Take the opportunity to replace
malloc with talloc.
util/Makefile.local
util/util.c [new file with mode: 0644]
util/util.h [new file with mode: 0644]
util/zlib-extra.c [new file with mode: 0644]
util/zlib-extra.h [new file with mode: 0644]