4.2.0.0R6
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 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 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.

Note that this function no longer inputs const struct vardef_values_xml_import_control vvxic. The default settings are: Restore Factory Configuration = false, Reboot = false, Missing Values = Unchanged, OEM = No Change, and Delete Wlan Profiles = false. You may change these settings by placing an XML Import Control group into the XML input stream in one or more places.

Return values
trueSuccess.
falseFailure.
Parameters
[in,out]rawStream which feeds in the XML.
[in]lwumiEnvironment or NULL.