writer.h File Reference

SCEW writer common functions. More...

#include "export.h"
#include "tree.h"
#include "attribute.h"
#include "bool.h"
#include <expat.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  scew_writer_hooks
 This is the set of functions that are implemented by all SCEW writers. More...

Typedefs

typedef struct scew_writer scew_writer
 This is the type delcaration for SCEW writers.

Functions

SCEW_API scew_writerscew_writer_create (scew_writer_hooks const *hooks, void *data)
 Creates a new SCEW writer with the given scew_writer_hooks implementation.
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 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_API scew_bool scew_writer_end (scew_writer *writer)
 Tells whether the given writer has reached its end.
SCEW_API scew_bool scew_writer_error (scew_writer *writer)
 Tells whether an error was found while sending data to the given writer.
SCEW_API scew_bool scew_writer_close (scew_writer *writer)
 Closes the given writer.
SCEW_API void scew_writer_free (scew_writer *writer)
 Frees the memory allocated by the given writer.

Detailed Description

SCEW writer common functions.

Author:
Aleix Conchillo Flaque <aleix@member.fsf.org>
Date:
Thu Sep 11, 2003 00:36

Generated on Fri Dec 11 19:50:26 2009 for Simple C Expat Wrapper (SCEW) by  doxygen 1.6.1