summaryrefslogtreecommitdiffstats
path: root/src/gzip.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-05-07 11:28:40 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-05-07 11:28:40 (EDT)
commitb6d36859246e1ea432911169d1f325df1479eac7 (patch)
tree072c54d02c292dc1a909a6b19e7c259e0f30b9e4 /src/gzip.h
parent757f6e4d2dd1df1a89c425200b15753d606e3748 (diff)
gzip: Count and report bytes written
Diffstat (limited to 'src/gzip.h')
-rw-r--r--src/gzip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gzip.h b/src/gzip.h
index d42a969..6eddd6a 100644
--- a/src/gzip.h
+++ b/src/gzip.h
@@ -65,6 +65,9 @@ opkg_opk_gzip_read(struct opkg_opk_gzip *gzip, void *record);
int
opkg_opk_gzip_write(struct opkg_opk_gzip *gzip, void *record, size_t size);
+size_t
+opkg_opk_gzip_written(struct opkg_opk_gzip *gzip);
+
/*
* Frees a decompression structure.
* Parameters: