|
| void | uvco::allocator (uv_handle_t *, size_t sugg, uv_buf_t *buf) |
| | libuv allocator.
|
| void | uvco::freeUvBuf (const uv_buf_t *buf) |
template<typename R, typename F>
requires std::is_invocable_r_v<R, F, std::string_view> |
| R | uvco::callWithNullTerminated (std::string_view view, F &&f) |
| template<typename Into, typename Handle> |
| Into * | uvco::getData (const Handle *handle) |
| | Obtain data pointer set on handle with nullptr check and type cast.
|
| template<typename Into, typename Handle> |
| Into * | uvco::getDataOrNull (const Handle *handle) |
| template<typename Into, typename Request> |
| Into * | uvco::getRequestData (const Request *req) |
| | Obtain data pointer set on request with nullptr check and type cast.
|
| template<typename Into, typename Request> |
| Into * | uvco::getRequestDataOrNull (const Request *req) |
| template<typename Handle, typename Data> |
| void | uvco::setData (Handle *handle, Data *data) |
| | Obtain data pointer set on request with type cast. Data may be nullptr.
|
| template<typename Handle> |
| void | uvco::resetData (Handle *handle) |
| | Reset data pointer on handle to nullptr.
|
| template<typename Request, typename Data> |
| void | uvco::setRequestData (Request *req, Data *data) |
| | Set data pointer on request.
|
| template<typename Request> |
| void | uvco::resetRequestData (Request *req) |
| template<typename Handle> |
| bool | uvco::dataIsNull (Handle *handle) |
| | Check if handle data is null.
|
| template<typename Request> |
| bool | uvco::requestDataIsNull (Request *req) |
| | Check if request data is null.
|