GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ZFS / dev > zcompress / sun-gcc
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <ZFS/ZLIB_file_compress.h>#include <ZFS/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) |
| #define ZLIB_BUF_SIZE 0x8000 |
The size in bytes of ZLIB data buffers.
Referenced by zcompress().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
The UNIX application entry point.
| argc | The number of command line arguments. | |
| argv | Pointers to the command line arguments. |
| 0 | Success. | |
| -1 | Failure. |
References zcompress().
| int zcompress | ( | const char * | inName, | |
| const char * | outName | |||
| ) |
The VxWorks entry point. Encodes the input data and writes out the encoded data.
| inName | The name of the input file to compress. | |
| outName | The name of the compressed output file. |
| 0 | Success. | |
| -1 | Failure. |
References ZLIB_BUF_SIZE, and ZLIB_fileCompressFromFile().
Referenced by main().
1.5.8