dc_FileX.h File Reference

APIs for XML file processing. More...

#include "dc/dc_Types.h"

Functions

DC_RT_FMAC1 int xml_out_fopen (struct soap *soap, void *sun_out_stream)
 Initialize and prepares the gSOAP runtime structure for writing XML into a specified file using, for example, the EPX API.
DC_RT_FMAC1 int xml_out_fclose (struct soap *soap)
 Close the XML file opened for writing and restores a standard-initialized gSOAP runtime structure.
DC_RT_FMAC1 int xml_in_fopen (struct soap *soap, void *sun_in_stream)
 Initialize and prepares the gSOAP runtime structure for reading XML from a specified file using, for example, the EPX API.
DC_RT_FMAC1 int xml_in_fclose (struct soap *soap)
 Close the SUN XML stream opened for reading and restores a standard-initialized gSOAP runtime structure.
DC_RT_FMAC1 int xml_file_serialize (void *pctx, char *filename)
 Serialize the content of the parser context into the specified file or the console.
DC_RT_FMAC1 int xml_file_parse (void *sctx, char *filename)
 Parse the content of the specified file and send it to the specified serializer context.


Detailed Description

APIs for XML file processing.

It contains functions to:


Function Documentation

DC_RT_FMAC1 int xml_out_fopen ( struct soap *  soap,
void *  sun_out_stream 
)

Initialize and prepares the gSOAP runtime structure for writing XML into a specified file using, for example, the EPX API.

Parameters:
soap The gSOAP runtime structure to initialize.
sun_out_stream Storage unit implementation-dependent opened output stream. If NULL, output is performed on sdout.
Returns:
SOAP_OK or any gSOAP error code.

DC_RT_FMAC1 int xml_out_fclose ( struct soap *  soap  ) 

Close the XML file opened for writing and restores a standard-initialized gSOAP runtime structure.

Parameters:
soap The gSOAP runtime structure that references the opened file.
Returns:
SOAP_OK or any gSOAP error code.

DC_RT_FMAC1 int xml_in_fopen ( struct soap *  soap,
void *  sun_in_stream 
)

Initialize and prepares the gSOAP runtime structure for reading XML from a specified file using, for example, the EPX API.

Parameters:
soap The gSOAP runtime structure to initialize.
sun_in_stream Storage unit implementation-dependent opened input stream.
Returns:
SOAP_OK or any gSOAP error code.

DC_RT_FMAC1 int xml_in_fclose ( struct soap *  soap  ) 

Close the SUN XML stream opened for reading and restores a standard-initialized gSOAP runtime structure.

Parameters:
soap The gSOAP runtime structure that references the opened file.
Returns:
SOAP_OK or any gSOAP error code.

DC_RT_FMAC1 int xml_file_serialize ( void *  pctx,
char *  filename 
)

Serialize the content of the parser context into the specified file or the console.

Parameters:
pctx the parser context.
filename the destination file name. If NULL, output will be redirected to the console.
Returns:
SOAP_OK or any gSOAP error code.

DC_RT_FMAC1 int xml_file_parse ( void *  sctx,
char *  filename 
)

Parse the content of the specified file and send it to the specified serializer context.

Parameters:
sctx the serializer context.
filename the source file name.
Returns:
SOAP_OK or any gSOAP error code.


Generated on Fri Apr 17 15:18:25 2009 for DPWSCore by  doxygen 1.5.8