FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_ClearEx ( kNode  node,
kNodeClearOption  options 
)

Restores the specified aspects of node state to default values.

This function accepts an 'options' bitset that precisely specifies the aspects of node state to reset. Use kNODE_CLEAR_OPTION_ALL to restore the device to a default state, including all settings, storage and variables.

This function does not automatically apply or commit mode/device changes (though storage and variable changes are immediate/irreversible). Use kNode_Apply or kNode_Commit to complete changes.

Parameters
nodeNode object.
optionsBitset of specific settings that should be cleared.
Returns
Operation status.