46 #ifndef WRITER_H_0309110036
47 #define WRITER_H_0309110036
168 XML_Char
const *buffer,
SCEW_API scew_bool scew_writer_error(scew_writer *writer)
Tells whether an error was found while sending data to the given writer.
SCEW shared library support.
SCEW tree handling routines.
This is the set of functions that are implemented by all SCEW writers.
Definition: writer.h:78
unsigned char scew_bool
This should be defined using stdbool.h when C99 is available.
Definition: bool.h:35
SCEW attribute's handling routines.
SCEW_API void * scew_writer_data(scew_writer *writer)
Returns the reference to the internal data structure being used by the given writer.
SCEW_API void scew_writer_free(scew_writer *writer)
Frees the memory allocated by the given writer.
struct scew_writer scew_writer
This is the type delcaration for SCEW writers.
Definition: writer.h:69
SCEW_API size_t scew_writer_write(scew_writer *writer, XML_Char const *buffer, size_t char_no)
Writes data from the given memory buffer to the specified writer.
SCEW boolean type declaration.
SCEW_API scew_bool scew_writer_end(scew_writer *writer)
Tells whether the given writer has reached its end.
SCEW_API scew_bool scew_writer_close(scew_writer *writer)
Closes the given writer.
SCEW_API scew_writer * scew_writer_create(scew_writer_hooks const *hooks, void *data)
Creates a new SCEW writer with the given scew_writer_hooks implementation.