Simple C Expat Wrapper (SCEW)
1.1.7
|
SCEW reader common functions. More...
Go to the source code of this file.
Data Structures | |
struct | scew_reader_hooks |
This is the set of functions that are implemented by all SCEW reader sources. More... | |
Typedefs | |
typedef struct scew_reader | scew_reader |
This is the type delcaration for SCEW readers. | |
Functions | |
SCEW_API scew_reader * | scew_reader_create (scew_reader_hooks const *hooks, void *data) |
Creates a new SCEW reader with the given scew_reader_hooks implementation. More... | |
SCEW_API void * | scew_reader_data (scew_reader *reader) |
Returns the reference to the internal data structure being used by the given reader. More... | |
SCEW_API size_t | scew_reader_read (scew_reader *reader, XML_Char *buffer, size_t char_no) |
Reads data from the given reader in store it in the specified buffer. More... | |
SCEW_API scew_bool | scew_reader_end (scew_reader *reader) |
Tells whether the given reader has reached its end. More... | |
SCEW_API scew_bool | scew_reader_error (scew_reader *reader) |
Tells whether an error was found while reading from the given reader. More... | |
SCEW_API scew_bool | scew_reader_close (scew_reader *reader) |
Closes the given reader. More... | |
SCEW_API void | scew_reader_free (scew_reader *reader) |
Frees the memory allocated by the given reader. More... | |
SCEW reader common functions.