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

wbxml2xml_tool.c File Reference

WBXML to XML Converter Tool. More...

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <string.h>
#include "getopt.h"
#include "wbxml.h"

Include dependency graph for wbxml2xml_tool.c:

Include dependency graph

Go to the source code of this file.

Defines

#define INPUT_BUFFER_SIZE   1000

Functions

WBXMLLanguage get_lang (const char *lang)
void help (void)
int main (int argc, char **argv)


Detailed Description

WBXML to XML Converter Tool.

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

Definition in file wbxml2xml_tool.c.


Define Documentation

#define INPUT_BUFFER_SIZE   1000
 

Definition at line 44 of file wbxml2xml_tool.c.

Referenced by main().


Function Documentation

WBXMLLanguage get_lang const char *    lang [static]
 

Definition at line 47 of file wbxml2xml_tool.c.

References WB_TINY, WBXML_LANG_UNKNOWN, WBXML_STRCMP, and WBXMLLanguage.

Referenced by main().

void help void    [static]
 

Definition at line 130 of file wbxml2xml_tool.c.

References WBXML_LIB_VERSION.

Referenced by main().

int main int    argc,
char **    argv
 

Definition at line 195 of file wbxml2xml_tool.c.

References FALSE, WBXMLConvWBXML2XMLParams_s::gen_type, get_lang(), getopt(), help(), WBXMLConvWBXML2XMLParams_s::indent, INPUT_BUFFER_SIZE, WBXMLConvWBXML2XMLParams_s::keep_ignorable_ws, WBXMLConvWBXML2XMLParams_s::lang, NULL, TRUE, WB_LONG, WB_TINY, WB_UTINY, wbxml_conv_wbxml2xml(), WBXML_ENCODER_XML_GEN_CANONICAL, WBXML_ENCODER_XML_GEN_COMPACT, WBXML_ENCODER_XML_GEN_INDENT, wbxml_errors_string(), wbxml_free(), WBXML_LANG_UNKNOWN, WBXML_OK, wbxml_realloc(), WBXML_STRCMP, and WBXMLError.


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