#include <zlib.h>
#include "fileoutputstream.h"
Go to the source code of this file.
Typedefs | |
typedef xmlcpgGZIPOUTPUTSTREAM | xmlcpgGZIPOutputStream |
The gzip output stream type declaration. | |
Functions | |
xmlcpgGZIPOutputStream * | xmlcpgnewGZIPOutputStream (xmlcpgFileOutputStream *os) |
Creates a new gzip output stream with a file output stream. | |
xmlcpgGZIPOutputStream * | xmlcpgnewGZIPOutputStreamFD (int fd) |
Creates a new gzip output stream with a file descriptor. | |
void | xmlcpgdeleteGZIPOutputStream (xmlcpgGZIPOutputStream *os) |
Destroys the output stream. | |
int | xmlcpgisGZIPOutputStream (const xmlcpgGZIPOutputStream *os) |
Tells if the the object is a gzip output stream. | |
int | xmlcpggetGZIPOutputStreamEOS (const xmlcpgGZIPOutputStream *os) |
Tests the end of stream indicator of the output stream. | |
int | xmlcpgflushGZIPOutputStream (xmlcpgGZIPOutputStream *os) |
Flushes the output stream. | |
int | xmlcpgwriteGZIPOutputStreamChar (xmlcpgGZIPOutputStream *os, int c) |
Writes a character to the output stream. | |
int | xmlcpgwriteGZIPOutputStream (xmlcpgGZIPOutputStream *os, const void *ptr, int nb) |
Writes some bytes of data to the location pointed by ptr. | |
int | xmlcpgcloseGZIPOutputStream (xmlcpgGZIPOutputStream *os) |
Closes the output stream. | |
int | xmlcpggetGZIPOutputStreamError (const xmlcpgGZIPOutputStream *os) |
Tests the error indicator of the output stream. | |
const char * | xmlcpggetGZIPOutputStreamErrorString (const xmlcpgGZIPOutputStream *os) |
Gets the string describing the error. |
|
The gzip output stream type declaration.
|
|
Closes the output stream.
|
|
Destroys the output stream. The stream must be closed before with the xmlcpgcloseGZIPOutputStream function.
|
|
Flushes the output stream.
|
|
Tests the end of stream indicator of the output stream.
|
|
Tests the error indicator of the output stream.
|
|
Gets the string describing the error.
|
|
Tells if the the object is a gzip output stream.
|
|
Creates a new gzip output stream with a file output stream. The file output stream is freed on successful completion of the function.
|
|
Creates a new gzip output stream with a file descriptor.
|
|
Writes some bytes of data to the location pointed by ptr.
|
|
Writes a character to the output stream.
|