void nopoll_conn_opts_set_reuse ( noPollConnOpts opts,
nopoll_bool  reuse 
)

Set reuse-flag be used on the API receiving this configuration object.

By setting nopoll_true will cause the API to not release the object when finished. Instead, the caller will be able to use this object in additional API calls but, after finishing, a call to nopoll_conn_opts_set_reuse function is required.

Parameters
optsThe connection options object.
reusenopoll_true to reuse the object across calls, otherwise nopoll_false to make the API function to release the object when done.