nm_iam_set_state_changed_callback()

DESCRIPTION

Set change callbacks such that state can be persisted.

DECLARATION

void nm_iam_set_state_changed_callback(struct nm_iam* iam, nm_iam_state_changed userChange, void* data)

PARAMETERS

iam:
[in] IAM module to get notifications on state changes on.
userChange:
[in] the callback function
data:
[in] data passed to the callback function when invoked by the IAM module