Contains fields for client user data. More...
Contains fields for client user data.
If the client wants to associate data with the device or any object, this structure may be used. Create it using pt_api_create_userdata. The PT API will deallocate this structure and call the pt_free_userdata call-back when the object structure is destroyed. However the client is responsible to free the pt_userdata_t::data using the pt_userdata_t::pt_free_userdata call-back or in some other way.
Pointer to client's data that may be associated with the device.
Points to customer implementation to free the userdata.