#include <errno.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "gzipinputstream.h"#include "xmlcpg.h"Compounds | |
| struct | xmlcpgGZIPINPUTSTREAM |
Functions | |
| xmlcpgGZIPInputStream * | xmlcpgnewGZIPInputStream (xmlcpgFileInputStream *is) |
| Creates a new gzip input stream with a file input stream. | |
| xmlcpgGZIPInputStream * | xmlcpgnewGZIPInputStreamFD (int fd) |
| Creates a new gzip input stream with a file descriptor. | |
| void | xmlcpgdeleteGZIPInputStream (xmlcpgGZIPInputStream *is) |
| Destroys the gzip input stream. | |
| int | xmlcpgisGZIPInputStream (const xmlcpgGZIPInputStream *is) |
| Tells if the the object is a gzip input stream. | |
| int | xmlcpggetGZIPInputStreamEOS (const xmlcpgGZIPInputStream *is) |
| Tests the end of stream indicator of the gzip input stream. | |
| int | xmlcpgreadGZIPInputStreamChar (xmlcpgGZIPInputStream *is) |
| Reads a character from the gzip input stream. | |
| int | xmlcpgreadGZIPInputStream (xmlcpgGZIPInputStream *is, void *ptr, int nbytes) |
| Reads some bytes of data into the location pointed by ptr. | |
| int | xmlcpgcloseGZIPInputStream (xmlcpgGZIPInputStream *is) |
| Closes the gzip input stream. | |
| int | xmlcpggetGZIPInputStreamError (const xmlcpgGZIPInputStream *is) |
| Tests the error indicator of the gzip input stream. | |
| const char * | xmlcpggetGZIPInputStreamErrorString (const xmlcpgGZIPInputStream *is) |
| Gets the string describing the error. | |
|
|
Closes the gzip input stream.
|
|
|
Destroys the gzip input stream. The stream must be closed before with the xmlcpgcloseGZIPInputStream function.
|
|
|
Tests the end of stream indicator of the gzip input stream.
|
|
|
Tests the error indicator of the gzip input stream.
|
|
|
Gets the string describing the error.
|
|
|
Tells if the the object is a gzip input stream.
|
|
|
Creates a new gzip input stream with a file input stream. The file input stream is freed on successful completion of the function.
|
|
|
Creates a new gzip input stream with a file descriptor.
|
|
||||||||||||||||
|
Reads some bytes of data into the location pointed by ptr.
|
|
|
Reads a character from the gzip input stream.
|
1.2.18