Commit 1f8a74ac authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Rename zlib.h to vgz.h, take 2

parent b5f08fdc
...@@ -40,7 +40,7 @@ SVNID("$Id") ...@@ -40,7 +40,7 @@ SVNID("$Id")
#include "cache_esi.h" #include "cache_esi.h"
#include "vend.h" #include "vend.h"
#include "vct.h" #include "vct.h"
#include "zlib.h" #include "vgz.h"
#include "stevedore.h" #include "stevedore.h"
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
......
...@@ -39,7 +39,7 @@ SVNID("$Id") ...@@ -39,7 +39,7 @@ SVNID("$Id")
#include "cache.h" #include "cache.h"
#include "cache_esi.h" #include "cache_esi.h"
#include "vct.h" #include "vct.h"
#include "zlib.h" #include "vgz.h"
#include "stevedore.h" #include "stevedore.h"
/*--------------------------------------------------------------------- /*---------------------------------------------------------------------
......
...@@ -40,7 +40,7 @@ SVNID("$Id") ...@@ -40,7 +40,7 @@ SVNID("$Id")
#include "cache_esi.h" #include "cache_esi.h"
#include "vend.h" #include "vend.h"
#include "vct.h" #include "vct.h"
#include "zlib.h" #include "vgz.h"
#include "stevedore.h" #include "stevedore.h"
//#define Debug(fmt, ...) printf(fmt, __VA_ARGS__) //#define Debug(fmt, ...) printf(fmt, __VA_ARGS__)
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
* *
* Interaction with the linvgz (zlib) library. * Interaction with the linvgz (zlib) library.
* *
* The libz library pollutes namespace a LOT when you include the "zlib.h" * The zlib library pollutes namespace a LOT when you include the "vgz.h"
* file so we contain the damage by vectoring all access to libz through * (aka (zlib.h") file so we contain the damage by vectoring all access
* this source file. * to libz through this source file.
* *
* The API defined by this file, will also insulate the rest of the code, * The API defined by this file, will also insulate the rest of the code,
* should we find a better gzip library at a later date. * should we find a better gzip library at a later date.
...@@ -74,7 +74,7 @@ SVNID("$Id$") ...@@ -74,7 +74,7 @@ SVNID("$Id$")
#include "cache.h" #include "cache.h"
#include "stevedore.h" #include "stevedore.h"
#include "zlib.h" #include "vgz.h"
struct vgz { struct vgz {
unsigned magic; unsigned magic;
......
...@@ -49,7 +49,7 @@ SVNID("$Id$") ...@@ -49,7 +49,7 @@ SVNID("$Id$")
#include "vtc.h" #include "vtc.h"
#include "zlib.h" #include "vgz.h"
#define MAX_HDR 50 #define MAX_HDR 50
......
...@@ -28,6 +28,6 @@ libvgz_la_SOURCES = \ ...@@ -28,6 +28,6 @@ libvgz_la_SOURCES = \
trees.h \ trees.h \
uncompr.c \ uncompr.c \
zconf.h \ zconf.h \
zlib.h \ vgz.h \
zutil.c \ zutil.c \
zutil.h zutil.h
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/* @(#) $Id$ */ /* @(#) $Id$ */
#define ZLIB_INTERNAL #define ZLIB_INTERNAL
#include "zlib.h" #include "vgz.h"
/* =========================================================================== /* ===========================================================================
Compresses the source buffer into the destination buffer. The level Compresses the source buffer into the destination buffer. The level
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include "zlib.h" #include "vgz.h"
#ifdef STDC #ifdef STDC
# include <string.h> # include <string.h>
# include <stdlib.h> # include <stdlib.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/* @(#) $Id$ */ /* @(#) $Id$ */
#define ZLIB_INTERNAL #define ZLIB_INTERNAL
#include "zlib.h" #include "vgz.h"
/* =========================================================================== /* ===========================================================================
Decompresses the source buffer into the destination buffer. sourceLen is Decompresses the source buffer into the destination buffer. sourceLen is
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# define ZLIB_INTERNAL # define ZLIB_INTERNAL
#endif #endif
#include "zlib.h" #include "vgz.h"
#ifdef STDC #ifdef STDC
# if !(defined(_WIN32_WCE) && defined(_MSC_VER)) # if !(defined(_WIN32_WCE) && defined(_MSC_VER))
......
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