nabto_client_free2()

DESCRIPTION

Free a context.

If stop has not been called prior to this function, free can block until all io operations has finished.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_free2(NabtoClient* context)

PARAMETERS

context:
[in] The context

RETURN VALUES

NABTO_CLIENT_EC_OK iff the context is freed NABTO_CLIENT_EC_COULD_BLOCK if the free is called from a callback.

EXAMPLES

None.