COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
gzguts.h File Reference
#include <stdio.h>
#include "thirdparty/zlib/zlib.h"
#include <fcntl.h>
#include <errno.h>
Include dependency graph for gzguts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gz_state
 

Macros

#define ZLIB_INTERNAL
 
#define local   static
 
#define zstrerror()   strerror(errno)
 
#define DEF_MEM_LEVEL   MAX_MEM_LEVEL
 
#define GZBUFSIZE   8192
 
#define GZ_NONE   0
 
#define GZ_READ   7247
 
#define GZ_WRITE   31153
 
#define GZ_APPEND   1 /* mode set to GZ_WRITE after the file is opened */
 
#define LOOK   0 /* look for a gzip header */
 
#define COPY   1 /* copy input directly */
 
#define GZIP   2 /* decompress a gzip stream */
 
#define GT_OFF(x)   (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
 

Typedefs

typedef gz_state FARgz_statep
 

Functions

voidp malloc OF ((uInt size))
 
void free OF ((voidpf ptr))
 
ZEXTERN gzFile ZEXPORT gzopen64 OF ((const char *, const char *))
 
ZEXTERN z_off64_t ZEXPORT gzseek64 OF ((gzFile, z_off64_t, int))
 
ZEXTERN z_off64_t ZEXPORT gztell64 OF ((gzFile))
 
void gz_error OF ((gz_statep, int, const char *))
 
unsigned gz_intmax OF ((void))
 

Macro Definition Documentation

#define ZLIB_INTERNAL
#define local   static
#define zstrerror ( )    strerror(errno)
#define DEF_MEM_LEVEL   MAX_MEM_LEVEL
#define GZBUFSIZE   8192
#define GZ_NONE   0
#define GZ_READ   7247
#define GZ_WRITE   31153
#define GZ_APPEND   1 /* mode set to GZ_WRITE after the file is opened */
#define LOOK   0 /* look for a gzip header */
#define COPY   1 /* copy input directly */
#define GZIP   2 /* decompress a gzip stream */
#define GT_OFF (   x)    (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())

Typedef Documentation

Function Documentation

voidp malloc OF ( (uInt size)  )
void free OF ( (voidpf ptr)  )
ZEXTERN gzFile ZEXPORT gzopen64 OF ( (const char *, const char *)  )
void gz_error OF ( (gz_statep, int, const char *)  )
unsigned gz_intmax OF ( (void)  )