nm_iam_load_configuration()

DESCRIPTION

Load a configuration into an IAM module. Must be called before nabto_device_start() to avoid concurrency issues. The configuration cannot be changed after device start.

DECLARATION

bool nm_iam_load_configuration(struct nm_iam* iam, struct nm_iam_configuration* configuration)

PARAMETERS

iam:
[in] IAM module to load configuration into
configuration:
[in] Configuration to load. The IAM module takes ownership of the configuration.

RETURN VALUES

false iff the configuration could not be loaded

EXAMPLES

None.