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

wbxml_elt.c File Reference

WBXML Elements. More...

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

Include dependency graph for wbxml_elt.c:

Include dependency graph

Go to the source code of this file.

Defines

#define WBXML_ELT_UNKNOWN_NAME   ((WB_UTINY *)"unknown")

Functions

WBXMLTagwbxml_tag_create (WBXMLValueType type)
 Create a Tag structure.

WBXMLTagwbxml_tag_create_token (const WBXMLTagEntry *value)
 Additional function to create directly a Token Tag structure.

WBXMLTagwbxml_tag_create_literal (unsigned char *value)
void wbxml_tag_destroy (WBXMLTag *tag)
 Destroy a Tag structure.

WBXMLTagwbxml_tag_duplicate (WBXMLTag *tag)
 Duplicate a Tag structure.

const unsigned char * wbxml_tag_get_xml_name (WBXMLTag *tag)
 Get the XML Name of a WBXML Tag.

WBXMLAttributeNamewbxml_attribute_name_create (WBXMLValueType type)
 Create an Attribute Name structure.

WBXMLAttributeNamewbxml_attribute_name_create_token (const WBXMLAttrEntry *value)
 Additional function to create directly a Token Attribute Name structure.

WBXMLAttributeNamewbxml_attribute_name_create_literal (unsigned char *value)
void wbxml_attribute_name_destroy (WBXMLAttributeName *name)
 Destroy an Attribute Name structure.

WBXMLAttributeNamewbxml_attribute_name_duplicate (WBXMLAttributeName *name)
 Duplicate a Attribute Name structure.

const unsigned char * wbxml_attribute_name_get_xml_name (WBXMLAttributeName *name)
 Get the XML Name of a WBXML Attribute Name.

WBXMLAttributewbxml_attribute_create (void)
 Create an Attribute structure.

void wbxml_attribute_destroy (WBXMLAttribute *attr)
 Destroy an Attribute structure.

WBXMLAttributewbxml_attribute_duplicate (WBXMLAttribute *attr)
 Duplicate an Attribute structure.

const unsigned char * wbxml_attribute_get_xml_name (WBXMLAttribute *attr)
 Get the XML Attribute Name of a WBXML Attribute.

const unsigned char * wbxml_attribute_get_xml_value (WBXMLAttribute *attr)
 Get the XML Attribute Value of a WBXML Attribute.


Detailed Description

WBXML Elements.

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

Definition in file wbxml_elt.c.


Define Documentation

#define WBXML_ELT_UNKNOWN_NAME   ((WB_UTINY *)"unknown")
 

For an unknown XML Name

Definition at line 39 of file wbxml_elt.c.

Referenced by wbxml_attribute_get_xml_name(), wbxml_attribute_name_get_xml_name(), and wbxml_tag_get_xml_name().


Function Documentation

WBXMLAttributeName* wbxml_attribute_name_create_literal unsigned char *    value
 

Definition at line 186 of file wbxml_elt.c.

References NULL, WBXMLAttributeName_s::u, WB_UTINY, wbxml_attribute_name_create(), wbxml_attribute_name_destroy(), wbxml_buffer_create, WBXML_STRLEN, and WBXML_VALUE_LITERAL.

WBXMLTag* wbxml_tag_create_literal unsigned char *    value
 

Definition at line 77 of file wbxml_elt.c.

References NULL, WBXMLTag_s::u, WB_UTINY, wbxml_buffer_create, WBXML_STRLEN, wbxml_tag_create(), wbxml_tag_destroy(), and WBXML_VALUE_LITERAL.


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