nabto_client_listener_connection_event()

DESCRIPTION

Initialize a future for the event listener, the future is resolved when a new connection event is ready or the listener has been stopped.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_listener_connection_event(NabtoClientListener* listener, NabtoClientFuture* future, NabtoClientConnectionEvent* event)

PARAMETERS

listener:
The listener.
future:
The future which is resolved when an connection event is ready.
event:
The event which is overwritten when the future resolves with NABTO_CLIENT_EC_OK.

RETURN VALUES

None.

EXAMPLES

None.