nabto_device_password_authentication_request_init_listener()
DESCRIPTION
Init a listener for password authentication request listener.
DECLARATION
NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_password_authentication_request_init_listener(NabtoDevice* device, NabtoDeviceListener* listener)
PARAMETERS
device:
- [in] The device instance.
listener:
- [in] The listener to initialize.
RETURN VALUES
NABTO_DEVICE_EC_OK iff the listener is initialized NABTO_DEVICE_EC_IN_USE if a password authentucation listener is already set up.
EXAMPLES
None.