Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

wbxml_conv.c File Reference

WBXML Convertion Library (XML to WBXML, and WBXML to XML). More...

#include <string.h>
#include "wbxml.h"

Include dependency graph for wbxml_conv.c:

Include dependency graph

Go to the source code of this file.

Functions

WBXMLError wbxml_conv_wbxml2xml (unsigned char *wbxml, unsigned int wbxml_len, unsigned char **xml, WBXMLConvWBXML2XMLParams *params)
WBXMLError wbxml_conv_xml2wbxml (unsigned char *xml, unsigned char **wbxml, unsigned int *wbxml_len, WBXMLConvXML2WBXMLParams *params)


Detailed Description

WBXML Convertion Library (XML to WBXML, and WBXML to XML).

Author:
Aymerick Jéhanne <libwbxml@jehanne.org>
Date:
03/02/23

Definition in file wbxml_conv.c.


Function Documentation

WBXMLError wbxml_conv_wbxml2xml unsigned char *    wbxml,
unsigned int    wbxml_len,
unsigned char **    xml,
WBXMLConvWBXML2XMLParams   params
 

Definition at line 42 of file wbxml_conv.c.

References FALSE, WBXMLConvWBXML2XMLParams_s::gen_type, WBXMLConvWBXML2XMLParams_s::indent, WBXMLConvWBXML2XMLParams_s::keep_ignorable_ws, WBXMLConvWBXML2XMLParams_s::lang, NULL, TRUE, WB_ULONG, WB_UTINY, wbxml_encoder_create, wbxml_encoder_destroy(), wbxml_encoder_encode_to_xml(), wbxml_encoder_set_ignore_empty_text(), wbxml_encoder_set_indent(), wbxml_encoder_set_remove_text_blanks(), wbxml_encoder_set_tree(), wbxml_encoder_set_xml_gen_type(), WBXML_ENCODER_XML_GEN_INDENT, WBXML_ERROR, WBXML_ERROR_BAD_PARAMETER, WBXML_ERROR_NOT_ENOUGH_MEMORY, wbxml_errors_string(), WBXML_LANG_UNKNOWN, WBXML_OK, wbxml_tree_destroy(), wbxml_tree_from_wbxml(), and WBXMLError.

WBXMLError wbxml_conv_xml2wbxml unsigned char *    xml,
unsigned char **    wbxml,
unsigned int *    wbxml_len,
WBXMLConvXML2WBXMLParams   params
 

Definition at line 120 of file wbxml_conv.c.

References WBXMLConvXML2WBXMLParams_s::keep_ignorable_ws, NULL, TRUE, WBXMLConvXML2WBXMLParams_s::use_strtbl, WB_ULONG, WB_UTINY, wbxml_encoder_create, wbxml_encoder_destroy(), wbxml_encoder_encode_to_wbxml(), wbxml_encoder_set_ignore_empty_text(), wbxml_encoder_set_remove_text_blanks(), wbxml_encoder_set_tree(), wbxml_encoder_set_use_strtbl(), wbxml_encoder_set_wbxml_version(), WBXML_ERROR, WBXML_ERROR_BAD_PARAMETER, WBXML_ERROR_NO_XMLPARSER, WBXML_ERROR_NOT_ENOUGH_MEMORY, wbxml_errors_string(), WBXML_OK, wbxml_tree_destroy(), wbxml_tree_from_xml(), WBXMLConvXML2WBXMLParams_s::wbxml_version, and WBXMLError.


Generated on Mon Nov 24 20:09:44 2003 for WBXML Library by doxygen1.3-rc1