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

xml2wbxml_tool.c File Reference

XML to WBXML 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 xml2wbxml_tool.c:

Include dependency graph

Go to the source code of this file.

Defines

#define INPUT_BUFFER_SIZE   5000

Functions

WBXMLVersion get_version (const char *lang)
void help (void)
int main (int argc, char **argv)


Detailed Description

XML to WBXML Converter Tool.

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

Definition in file xml2wbxml_tool.c.


Define Documentation

#define INPUT_BUFFER_SIZE   5000
 

Definition at line 44 of file xml2wbxml_tool.c.

Referenced by main().


Function Documentation

WBXMLVersion get_version const char *    lang [static]
 

Definition at line 47 of file xml2wbxml_tool.c.

References WB_TINY, WBXML_STRCMP, WBXML_VERSION_10, WBXML_VERSION_11, WBXML_VERSION_12, WBXML_VERSION_13, WBXML_VERSION_UNKNOWN, and WBXMLVersion.

Referenced by main().

void help void    [static]
 

Definition at line 62 of file xml2wbxml_tool.c.

References WBXML_LIB_VERSION.

int main int    argc,
char **    argv
 

Definition at line 82 of file xml2wbxml_tool.c.

References FALSE, get_version(), getopt(), help(), INPUT_BUFFER_SIZE, WBXMLConvXML2WBXMLParams_s::keep_ignorable_ws, NULL, TRUE, WBXMLConvXML2WBXMLParams_s::use_strtbl, WB_LONG, WB_TINY, WB_ULONG, WB_UTINY, wbxml_conv_xml2wbxml(), wbxml_errors_string(), wbxml_free(), WBXML_OK, wbxml_realloc(), WBXML_STRCMP, WBXMLConvXML2WBXMLParams_s::wbxml_version, WBXML_VERSION_13, and WBXMLError.


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