Main Page   File List   File Members  

mxml_output.c File Reference

#include <mxml.h>
#include <stdio.h>

Functions

MXML_OUTPUT * mxml_output_new (MXML_OUTPUT_FUNC func, int node_count)
MXML_STATUS mxml_output_setup (MXML_OUTPUT *out, MXML_OUTPUT_FUNC func, int node_count)
void mxml_output_destroy (MXML_OUTPUT *out)
MXML_STATUS mxml_output_char (MXML_OUTPUT *out, int c)
MXML_STATUS mxml_output_string_len (MXML_OUTPUT *out, char *s, int len)
MXML_STATUS mxml_output_string (MXML_OUTPUT *out, char *s)
MXML_STATUS mxml_output_string_escape (MXML_OUTPUT *out, char *s)
void mxml_output_func_to_stream (MXML_OUTPUT *out, char *s, int len)
void mxml_output_func_to_handle (MXML_OUTPUT *out, char *s, int len)
void mxml_output_func_to_sgs (MXML_OUTPUT *out, char *s, int len)

Function Documentation

MXML_STATUS mxml_output_char (  MXML_OUTPUT *    out,
int    c
) 
 

void mxml_output_destroy (  MXML_OUTPUT *    out ) 
 

void mxml_output_func_to_handle (  MXML_OUTPUT *    out,
char *    s,
int    len
) 
 

Useful function to output to file handles

void mxml_output_func_to_sgs (  MXML_OUTPUT *    out,
char *    s,
int    len
) 
 

Useful function to output to self growing strings

void mxml_output_func_to_stream (  MXML_OUTPUT *    out,
char *    s,
int    len
) 
 

Useful function to output to streams

MXML_OUTPUT* mxml_output_new (  MXML_OUTPUT_FUNC    func,
int    node_count
) 
 

Creates a new output object In this case, the func member is required. Node count is optional, but highly wanted for progress indicators.

MXML_STATUS mxml_output_setup (  MXML_OUTPUT *    out,
MXML_OUTPUT_FUNC    func,
int    node_count
) 
 

Sets up output parameters. In this case, the func member is required. Node count is optional, but highly wanted for progress indicators.

MXML_STATUS mxml_output_string (  MXML_OUTPUT *    out,
char *    s
) 
 

MXML_STATUS mxml_output_string_escape (  MXML_OUTPUT *    out,
char *    s
) 
 

MXML_STATUS mxml_output_string_len (  MXML_OUTPUT *    out,
char *    s,
int    len
) 
 


Generated on Tue Jul 8 23:44:29 2003 for MXML by doxygen1.2.18