From b632667ce57af89691407bb8668e1512775278ae Mon Sep 17 00:00:00 2001 From: Calvin Date: Fri, 15 Mar 2013 15:26:20 -0400 Subject: nbc added --- src/nbc/gzip.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/nbc/gzip.c (limited to 'src/nbc/gzip.c') diff --git a/src/nbc/gzip.c b/src/nbc/gzip.c new file mode 100644 index 0000000..d2bf98f --- /dev/null +++ b/src/nbc/gzip.c @@ -0,0 +1,13 @@ +#include + +int +gzreadoffset(gzFile file, voidp buf, unsigned offset, unsigned len) +{ + return gzread(file, buf + offset, len); +} + +int +gzwriteoffset(gzFile file, voidpc buf, unsigned offset, unsigned len) +{ + return gzwrite(file, buf + offset, len); +} -- cgit v1.2.3