internal_set_provider_data


Description:

public void internal_set_provider_data (ServerProviderConnectionData data, DestroyNotify destroy_func)

Note: calling this function more than once will not make it call destroy_func on any previously set opaque data, you'll have to do it yourself.

Note: destroy_func, needs to free the memory associated to data, if necessary.

Parameters:

this

a Connection object

data

a ServerProviderConnectionData, which can be extended as needed by the provider for which this is opened

destroy_func

function to call when the connection closes and data needs to be destroyed