46 #ifndef READER_H_0811231336
47 #define READER_H_0811231336
SCEW_API void scew_reader_free(scew_reader *reader)
Frees the memory allocated by the given reader.
This is the set of functions that are implemented by all SCEW reader sources.
Definition: reader.h:75
SCEW_API void * scew_reader_data(scew_reader *reader)
Returns the reference to the internal data structure being used by the given reader.
SCEW shared library support.
unsigned char scew_bool
This should be defined using stdbool.h when C99 is available.
Definition: bool.h:35
SCEW_API scew_bool scew_reader_close(scew_reader *reader)
Closes the given reader.
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.
struct scew_reader scew_reader
This is the type delcaration for SCEW readers.
Definition: reader.h:66
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.
SCEW boolean type declaration.
SCEW_API scew_bool scew_reader_error(scew_reader *reader)
Tells whether an error was found while reading from the given reader.
SCEW_API scew_bool scew_reader_end(scew_reader *reader)
Tells whether the given reader has reached its end.