21 #ifndef PT_API_VERSION 22 #define PT_API_VERSION 2 24 #if PT_API_VERSION != 2 25 #error "Including mixed versions of Protocol API" 28 #ifndef PT_USERDATA_API_H 29 #define PT_USERDATA_API_H void * data
Definition: pt_userdata_api.h:63
void(* pt_userdata_free_cb_t)(void *data)
The user-supplied memory deallocation function for userdata.
Definition: pt_userdata_api.h:51
pt_userdata_t * pt_api_create_userdata(void *data, pt_userdata_free_cb_t free_userdata_cb)
Used to create the pt_userdata_s structure.
pt_userdata_free_cb_t pt_free_userdata
Definition: pt_userdata_api.h:64
struct pt_userdata_s pt_userdata_t
Contains fields for client user data.
Contains fields for client user data.
Definition: pt_userdata_api.h:62