GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ZLIB / V2-1-0

Constituent: zcompress     Tag: sun-gcc


Interface   Compound List   File List   Compound Members   File Members  

zcompress.c File Reference

#include "stdio.h"
#include "stdlib.h"
#include "unistd.h"
#include "fcntl.h"
#include "sys/types.h"
#include "sys/stat.h"
#include "ZLIB/ZLIB_file_compress.h"
#include "ZLIB/zcompress.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "PBS/TASK.h"

Include dependency graph for zcompress.c:

Include dependency graph

Defines

#define ZLIB_BUF_SIZE   0x8000

Functions

int zcompress (const char *inName, const char *outName)
int main (int argc, char **argv)

Detailed Description

A file compression utility using the zlib encoder.

Define Documentation

#define ZLIB_BUF_SIZE   0x8000
 

The size in bytes of ZLIB data buffers.


Function Documentation

int main int  argc,
char **  argv
 

The UNIX application entry point.

Parameters:
argc The number of command line arguments.
argv Pointers to the command line arguments.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int zcompress const char *  inName,
const char *  outName
 

The VxWorks entry point. Encodes the input data and writes out the encoded data.

Parameters:
inName The name of the input file to compress.
outName The name of the compressed output file.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:


Generated on Fri May 28 02:08:18 2004 by doxygen 1.3.3