void myqtt_conn_set_hook ( MyQttConn connection,
axlPointer  ptr 

Allows to set a commonly used user land pointer associated to the provided connection.

Though you can use myqtt_conn_set_data_full or myqtt_conn_set_data, this function allows to set a pointer that can be retrieved by using myqtt_conn_get_hook with a low cpu usage.

connectionThe connection where the user land pointer is associated.
ptrThe pointer that will be associated to the connection.