2.0.0.4R9
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
Import
bool ltrx_xml_import_from_stream (struct input_stream *in, const struct ltrx_write_user_message_info *lwumi)
 Import XML from stream. More...
 
bool ltrx_xml_trusted_import_from_stream (struct input_stream *raw, const struct vardef_values_xml_import_control *vvxic, const struct ltrx_write_user_message_info *lwumi)
 Trusted import XML from stream. More...
 

Detailed Description

Import contains definitions pertaining to input of configuration information in XML format.

Function Documentation

bool ltrx_xml_import_from_stream ( struct input_stream in,
const struct ltrx_write_user_message_info lwumi 
)

Import XML from stream.

Imports XML from the in stream, any error messages are directed via the lwumi environment.

Return values
trueSuccess.
falseFailure.
Parameters
[in,out]inStream which feeds in the XML.
[in]lwumiEnvironment or NULL.
bool ltrx_xml_trusted_import_from_stream ( struct input_stream raw,
const struct vardef_values_xml_import_control *  vvxic,
const struct ltrx_write_user_message_info lwumi 
)

Trusted import XML from stream.

Imports XML from the in stream, any error messages are directed via the lwumi environment. "Trusted" because much error testing is omitted, so we rely on XML input to be error free. In an SDK environment, the XML is prepared by software, and can be trusted if the use cases have been tested.

Return values
trueSuccess.
falseFailure.
Parameters
[in,out]rawStream which feeds in the XML.
[in]lwumiXML Import Control group settings. [in] Environment or NULL.