Main Page | File List | File Members

writer.h File Reference

SCEW writer functions. More...

#include "types.h"
#include <expat.h>
#include <stdio.h>

Go to the source code of this file.

Functions

unsigned int scew_writer_tree_file (scew_tree const *tree, char const *file_name)
unsigned int scew_writer_tree_fp (scew_tree const *tree, FILE *out)


Detailed Description

SCEW writer functions.

Author:
Aleix Conchillo Flaque <aleix@member.fsf.org>
Date:
Thu Sep 11, 2003 00:36
Id
writer.h,v 1.1 2004/01/28 00:43:21 aleix Exp

Function Documentation

unsigned int scew_writer_tree_file scew_tree const *  tree,
char const *  file_name
 

Saves an XML tree to the specified file. If the file doesn't exist it will create it, and if it exists it will overwrite it.

Returns:
1 if tree was successfully saved, 0 otherwise.

unsigned int scew_writer_tree_fp scew_tree const *  tree,
FILE *  out
 

Saves an XML tree to the already created file pointer.

Returns:
1 if tree was successfully saved, 0 otherwise.


Generated on Tue May 25 23:38:29 2004 for Simple C Expat Wrapper by doxygen 1.3.7