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

Constituent: zcompress     Tag: linux-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"

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.

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.


Generated on Thu May 13 13:10:45 2004 by doxygen 1.3.3