nm_iam_state_copy()

DESCRIPTION

Copy a state object. The received copy must be freed with nm_iam_state_free() or the ownership must be transferred to an IAM module instance.

DECLARATION

struct nm_iam_state* nm_iam_state_copy(struct nm_iam_state* state)

PARAMETERS

state:
[in] The state to copy

RETURNS

NULL iff the state could not be copied