102 const xmlChar *name);
118 const xmlChar *name);
151 const xmlChar *cattrval,
241 const xmlChar *strval);
261 const xmlChar *strval);
status_t
global error return code
Definition: status_enum.h:210
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
uint32 xml_val_sprintf_qname(xmlChar *buff, uint32 bufflen, xmlns_id_t nsid, const xmlChar *name)
construct a QName into a buffer
Definition: xml_val.c:207
status_t xml_val_add_cattr(const xmlChar *name, xmlns_id_t nsid, const xmlChar *cattrval, val_value_t *val)
Set up a new attr val and add it to the specified val const version copies string.
Definition: xml_val.c:292
val_value_t * xml_val_new_flag(const xmlChar *name, xmlns_id_t nsid)
Set up a new flag (NCX_NT_EMPTY)
Definition: xml_val.c:553
val_value_t * xml_val_new_struct2(const xmlChar *name, xmlns_id_t nsid)
Set up a new generic struct; copy the name.
Definition: xml_val.c:354
uint32 xml_val_qname_len(xmlns_id_t nsid, const xmlChar *name)
Determine the length of the qname string that would be generated with the xml_val_make_qname function...
Definition: xml_val.c:178
val_value_t * xml_val_new_cstring2(const xmlChar *name, xmlns_id_t nsid, const xmlChar *strval)
Set up a new string from a const string copy a const string; malloc the name!
Definition: xml_val.c:486
val_value_t * xml_val_new_cstring(const xmlChar *name, xmlns_id_t nsid, const xmlChar *strval)
Set up a new string from a const string copy a const string.
Definition: xml_val.c:451
status_t xml_val_add_attr(const xmlChar *name, xmlns_id_t nsid, xmlChar *attrval, val_value_t *val)
Set up a new attr val and add it to the specified val hand off a malloced attribute string.
Definition: xml_val.c:252
val_value_t * xml_val_new_flag2(const xmlChar *name, xmlns_id_t nsid)
Set up a new flag; malloc name!
Definition: xml_val.c:587
val_value_t * xml_val_new_leaflist_string(const xmlChar *name, xmlns_id_t nsid, xmlChar *strval)
Set up a new string element; reuse the value instead of copying it hand off a malloced string.
Definition: xml_val.c:527
val_value_t * xml_val_new_boolean(const xmlChar *name, xmlns_id_t nsid, boolean boo)
Set up a new boolean.
Definition: xml_val.c:625
val_value_t * xml_val_new_struct(const xmlChar *name, xmlns_id_t nsid)
Set up a new generic struct.
Definition: xml_val.c:323
xmlChar * xml_val_make_qname(xmlns_id_t nsid, const xmlChar *name)
Make a Q-name string.
Definition: xml_val.c:134
val_value_t * xml_val_new_root(const xmlChar *name, xmlns_id_t nsid)
Set up a new struct as an ncx:root.
Definition: xml_val.c:390
val_value_t * xml_val_new_string(const xmlChar *name, xmlns_id_t nsid, xmlChar *strval)
Set up a new string element; reuse the value instead of copying it hand off a malloced string.
Definition: xml_val.c:423
val_value_t * xml_val_new_number(const xmlChar *name, xmlns_id_t nsid, ncx_num_t *num, ncx_btype_t btyp)
Set up a new number.
Definition: xml_val.c:657
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:213
Global error messages for status code enumerations.
one value to match one type
Definition: val.h:912
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:784
Value Node Basic Support.