diff --git a/src/common/libremoteio.h b/src/common/libremoteio.h --- a/src/common/libremoteio.h +++ b/src/common/libremoteio.h @@ -90,6 +90,8 @@ struct remoteio remoteio_read_handle_func_t read_handler; /* for the read_handler */ void *read_handler_data; + /* so that read_handler_data can be cleaned up */ + remoteio_close_handle_func_t close_handler; /** * Store a buffer of data waiting to be processed.