diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-30 02:41:30 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-30 02:41:30 (EDT) |
commit | 836a34596e3a288c495f1d85f6994f003f4ba2a2 (patch) | |
tree | a5ad4c525bc5974d5e783a4ce11cd605c25fe73e /src/gzip.h | |
parent | b699f4cd57a58091f353f529f4645533821f56d9 (diff) |
gzip: Get write buffer after init
Diffstat (limited to 'src/gzip.h')
-rw-r--r-- | src/gzip.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -45,8 +45,11 @@ struct opkg_opk_gzip * opkg_opk_gzip_init_read(opkg_opk_gzip_read_func *read, void *user_data); struct opkg_opk_gzip * -opkg_opk_gzip_init_write(char *buffer, size_t size, - opkg_opk_gzip_write_func *write, void *user_data); +opkg_opk_gzip_init_write(opkg_opk_gzip_write_func *write, void *user_data); + +int +opkg_opk_gzip_set_write_buffer(struct opkg_opk_gzip *gzip, char *buffer, + size_t size); /* * Reads and decompresses data to output the next record (512 octets). |