Commit 7c19b3c5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Expose VGZ_NewGzip()

parent c6403011
...@@ -627,6 +627,7 @@ void Fetch_Init(void); ...@@ -627,6 +627,7 @@ void Fetch_Init(void);
struct vgz; struct vgz;
struct vgz *VGZ_NewUngzip(const struct sess *sp, struct ws *tmp); struct vgz *VGZ_NewUngzip(const struct sess *sp, struct ws *tmp);
struct vgz *VGZ_NewGzip(const struct sess *sp, struct ws *tmp);
void VGZ_Ibuf(struct vgz *, const void *, ssize_t len); void VGZ_Ibuf(struct vgz *, const void *, ssize_t len);
int VGZ_IbufEmpty(struct vgz *vg); int VGZ_IbufEmpty(struct vgz *vg);
void VGZ_Obuf(struct vgz *, const void *, ssize_t len); void VGZ_Obuf(struct vgz *, const void *, ssize_t len);
......
...@@ -151,7 +151,7 @@ VGZ_NewUngzip(const struct sess *sp, struct ws *tmp) ...@@ -151,7 +151,7 @@ VGZ_NewUngzip(const struct sess *sp, struct ws *tmp)
return (vg); return (vg);
} }
static struct vgz * struct vgz *
VGZ_NewGzip(const struct sess *sp, struct ws *tmp) VGZ_NewGzip(const struct sess *sp, struct ws *tmp)
{ {
struct vgz *vg; struct vgz *vg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment