[master] 7c19b3c Expose VGZ_NewGzip()
Poul-Henning Kamp
phk at project.varnish-software.com
Fri Jan 21 15:30:25 CET 2011
commit 7c19b3c5822e55fb98bd2c56393b26d7f94d84c0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Jan 21 12:36:38 2011 +0000
Expose VGZ_NewGzip()
diff --git a/bin/varnishd/cache.h b/bin/varnishd/cache.h
index 3e2fe64..510e7ab 100644
--- a/bin/varnishd/cache.h
+++ b/bin/varnishd/cache.h
@@ -627,6 +627,7 @@ void Fetch_Init(void);
struct vgz;
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);
int VGZ_IbufEmpty(struct vgz *vg);
void VGZ_Obuf(struct vgz *, const void *, ssize_t len);
diff --git a/bin/varnishd/cache_gzip.c b/bin/varnishd/cache_gzip.c
index be64895..d532afc 100644
--- a/bin/varnishd/cache_gzip.c
+++ b/bin/varnishd/cache_gzip.c
@@ -151,7 +151,7 @@ VGZ_NewUngzip(const struct sess *sp, struct ws *tmp)
return (vg);
}
-static struct vgz *
+struct vgz *
VGZ_NewGzip(const struct sess *sp, struct ws *tmp)
{
struct vgz *vg;
More information about the varnish-commit
mailing list