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... | |
Import contains definitions pertaining to input of configuration information in XML format.
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.
EXAMPLE:
true | Success. |
false | Failure. |
[in,out] | in | Stream which feeds in the XML. |
[in] | lwumi | Environment. |
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.
EXAMPLE:
true | Success. |
false | Failure. |
[in,out] | raw | Stream which feeds in the XML. |
[in] | lwumi | Environment. |