Lines Matching refs:uv_handle_t
4 :c:type:`uv_handle_t` --- Base handle
7 `uv_handle_t` is the base type for all libuv handle types.
9 Structures are aligned so that any libuv handle can be cast to `uv_handle_t`.
19 .. c:type:: uv_handle_t
55 .. c:type:: void (*uv_alloc_cb)(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf)
78 static void my_alloc_cb(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) {
83 .. c:type:: void (*uv_close_cb)(uv_handle_t* handle)
91 .. c:member:: uv_loop_t* uv_handle_t.loop
95 .. c:member:: uv_handle_type uv_handle_t.type
99 .. c:member:: void* uv_handle_t.data
115 .. c:function:: int uv_is_active(const uv_handle_t* handle)
134 .. c:function:: int uv_is_closing(const uv_handle_t* handle)
142 .. c:function:: void uv_close(uv_handle_t* handle, uv_close_cb close_cb)
159 .. c:function:: void uv_ref(uv_handle_t* handle)
166 .. c:function:: void uv_unref(uv_handle_t* handle)
173 .. c:function:: int uv_has_ref(const uv_handle_t* handle)
188 The following API functions take a :c:type:`uv_handle_t` argument but they work
191 .. c:function:: int uv_send_buffer_size(uv_handle_t* handle, int* value)
208 .. c:function:: int uv_recv_buffer_size(uv_handle_t* handle, int* value)
225 .. c:function:: int uv_fileno(const uv_handle_t* handle, uv_os_fd_t* fd)
239 .. c:function:: uv_loop_t* uv_handle_get_loop(const uv_handle_t* handle)
245 .. c:function:: void* uv_handle_get_data(const uv_handle_t* handle)
251 .. c:function:: void uv_handle_set_data(uv_handle_t* handle, void* data)
257 .. c:function:: uv_handle_type uv_handle_get_type(const uv_handle_t* handle)