WE310F5  39.00.000
m2mb_xml.h File Reference

This file contains the public APIs and structures of the XML parser module. More...

#include "m2mb_types.h"
#include "m2mb_status.h"

Go to the source code of this file.

Data Structures

struct  M2MB_XML_NODE
 Xml node structure. More...
 
struct  M2MB_XML_DATE
 XML date structure xml. More...
 
struct  M2MB_XML_TIME
 Xml time structure xml. More...
 
struct  M2MB_XML_DATE_TIME
 Xml date & time structure xml. More...
 
struct  M2MB_XML_DURATION
 Xml duration structure. More...
 
struct  M2MB_XML_STRING
 Duration structure XML. More...
 
struct  M2MB_XML_OBJ
 Xml object structure. More...
 
struct  M2MB_XML_COMPLEX_INFO
 XML complex information structure. More...
 
struct  M2MB_XML_COMPLEX_OBJ
 Xml complex object structure. More...
 
enum  M2MB_XML_OBJ_TYPE {
  M2MB_XML_COMPLEX_ELEMENT,
  M2MB_XML_SIMPLE_ELEMENT,
  M2MB_XML_ATTRIBUTE,
  M2MB_XML_NONE
}
 Object type supported by the xml. More...
 
enum  M2MB_XML_DATA_TYPE {
  M2MB_XML_DT_NONE,
  M2MB_XML_DT_UINT8,
  M2MB_XML_DT_INT8,
  M2MB_XML_DT_UINT16,
  M2MB_XML_DT_INT16,
  M2MB_XML_DT_UINT32,
  M2MB_XML_DT_INT32,
  M2MB_XML_DT_UINT64,
  M2MB_XML_DT_INT64,
  M2MB_XML_DT_FLOAT,
  M2MB_XML_DT_DOUBLE,
  M2MB_XML_DT_STR,
  M2MB_XML_DT_TOKEN,
  M2MB_XML_DT_BASE64BIN,
  M2MB_XML_DT_HEXBIN,
  M2MB_XML_DT_DATE,
  M2MB_XML_DT_TIME,
  M2MB_XML_DT_DATE_TIME,
  M2MB_XML_DT_DURATION
}
 Data type supported by the XML. More...
 
typedef enum M2MB_XML_OBJ_TYPE M2MB_XML_OBJ_TYPE_T
 Object type supported by the xml. More...
 
typedef enum M2MB_XML_DATA_TYPE M2MB_XML_DATA_TYPE_T
 Data type supported by the XML. More...
 
typedef struct M2MB_XML_NODE M2MB_XML_NODE_T
 Xml node structure. More...
 
typedef struct M2MB_XML_DATE M2MB_XML_DATE_T
 XML date structure xml. More...
 
typedef struct M2MB_XML_TIME M2MB_XML_TIME_T
 Xml time structure xml. More...
 
typedef struct M2MB_XML_DATE_TIME M2MB_XML_DATE_TIME_T
 Xml date & time structure xml. More...
 
typedef struct M2MB_XML_DURATION M2MB_XML_DURATION_T
 Xml duration structure. More...
 
typedef struct M2MB_XML_STRING M2MB_XML_STRING_T
 Duration structure XML. More...
 
typedef struct M2MB_XML_OBJ M2MB_XML_OBJ_T
 Xml object structure. More...
 
typedef struct M2MB_XML_COMPLEX_INFO M2MB_XML_COMPLEX_INFO_T
 XML complex information structure. More...
 
typedef struct M2MB_XML_COMPLEX_OBJ M2MB_XML_COMPLEX_OBJ_T
 Xml complex object structure. More...
 
M2MB_STATUS_T m2mb_xml_encode (M2MB_XML_COMPLEX_OBJ_T *xml_schema, UINT8 *user_struct, UINT8 *xml_file_buffer, UINT32 xml_file_buffer_Size, UINT32 *len_of_xml_written)
 Encode API for XML module. More...
 
M2MB_STATUS_T m2mb_xml_decode (UINT8 *parent_start, UINT8 *parent_end, M2MB_XML_COMPLEX_OBJ_T *xml_schema, UINT8 *return_struct)
 Decode API for XML module. More...
 
M2MB_STATUS_T m2mb_xml_node_get (M2MB_XML_NODE_T *child_node, UINT8 *parent_node_start, UINT8 *parent_node_end, UINT8 *tag_end)
 Get node API for XML module. More...
 
UINT8 m2mb_xml_node_occ_get (UINT8 *pTName, UINT8 *pPNStart, UINT8 *pPNEnd)
 Occurrence of node present API for XML module. More...
 

Detailed Description

This file contains the public APIs and structures of the XML parser module.

we866e4/epl/inc/modules/m2mb_xml.h

This file contains XML API.

Note
<Notes, dependencies mandatory> Dependencies: "#include m2mb_types.h" "#include m2mb_status.h"
Author
AV
Date
22/12/2017

Definition in file m2mb_xml.h.