#include <stdio.h>
Go to the source code of this file.
Typedefs | |
typedef xmlcpgFILEINPUTSTREAM | xmlcpgFileInputStream |
The file input stream declaration. | |
Functions | |
xmlcpgFileInputStream * | xmlcpgnewFileInputStreamFILE (FILE *f) |
Creates a new file input stream with a FILE stream. | |
xmlcpgFileInputStream * | xmlcpgnewFileInputStreamString (const char *name) |
Creates a new file input stream with a file name. | |
xmlcpgFileInputStream * | xmlcpgnewFileInputStreamFD (int fd) |
Creates a new file input stream with a file descriptor. | |
void | xmlcpgdeleteFileInputStream (xmlcpgFileInputStream *is) |
Destroys the file input stream. | |
int | xmlcpgisFileInputStream (const xmlcpgFileInputStream *is) |
Tells if the the object is a file input stream. | |
int | xmlcpggetFileInputStreamFD (const xmlcpgFileInputStream *is) |
Gets the file input stream file descriptor. | |
int | xmlcpggetFileInputStreamEOS (const xmlcpgFileInputStream *is) |
Tests the end of stream indicator of the file input stream. | |
int | xmlcpgreadFileInputStreamChar (xmlcpgFileInputStream *is) |
Reads a character from the file input stream. | |
int | xmlcpgreadFileInputStream (xmlcpgFileInputStream *is, void *ptr, int nbytes) |
Reads some bytes of data into the location pointed by ptr. | |
int | xmlcpgcloseFileInputStream (xmlcpgFileInputStream *is) |
Closes the file input stream. | |
int | xmlcpggetFileInputStreamError (const xmlcpgFileInputStream *is) |
Tests the error indicator of the file input stream. | |
const char * | xmlcpggetFileInputStreamErrorString (const xmlcpgFileInputStream *is) |
Gets the string describing the error. |
|
The file input stream declaration.
|
|
Closes the file input stream.
|
|
Destroys the file input stream. The stream must be closed before with the xmlcpgcloseFileInputStream function.
|
|
Tests the end of stream indicator of the file input stream.
|
|
Tests the error indicator of the file input stream.
|
|
Gets the string describing the error.
|
|
Gets the file input stream file descriptor.
|
|
Tells if the the object is a file input stream.
|
|
Creates a new file input stream with a file descriptor.
|
|
Creates a new file input stream with a FILE stream.
|
|
Creates a new file input stream with a file name.
|
|
Reads some bytes of data into the location pointed by ptr.
|
|
Reads a character from the file input stream.
|