MyQttConnOpts * myqtt_conn_opts_new ( void  )

Allows to create an empty connection options.

See the following functions to handle the object before passing it to any of the connect functions (myqtt_conn_new).

Returns
The function returns a newly created and empty connection options object or NULL if it fails.

IMPORTANT NOTE: You don't have to release it by default because this is automatically done by the connecting function (for example myqtt_conn_new). In the case you want to reuse this connection options object across several calls, please call myqtt_conn_opts_set_reuse. After you are done with those connection options, you can release it by calling to myqtt_conn_opts_free.