diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uv_link_observer_t.c | 4 | ||||
-rw-r--r-- | src/uv_link_source_t.c | 4 | ||||
-rw-r--r-- | src/uv_link_t.c | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/uv_link_observer_t.c b/src/uv_link_observer_t.c index 3ce0df9..4ed26cc 100644 --- a/src/uv_link_observer_t.c +++ b/src/uv_link_observer_t.c @@ -58,7 +58,7 @@ static int uv_link_observer_shutdown(uv_link_t* link, uv_link_shutdown_cb cb) { static void uv_link_observer_alloc_cb(uv_link_t* link, size_t suggested_size, uv_buf_t* buf) { - return uv_link_invoke_alloc_cb(link, suggested_size, buf); + return uv_link_propagate_alloc_cb(link, suggested_size, buf); } @@ -72,7 +72,7 @@ static void uv_link_observer_read_cb(uv_link_t* link, if (observer->read_cb != NULL) observer->read_cb(observer, nread, buf); - return uv_link_invoke_read_cb(link, nread, buf); + return uv_link_propagate_read_cb(link, nread, buf); } diff --git a/src/uv_link_source_t.c b/src/uv_link_source_t.c index 11907cc..3601599 100644 --- a/src/uv_link_source_t.c +++ b/src/uv_link_source_t.c @@ -26,7 +26,7 @@ static void uv_link_source_wrap_alloc_cb(uv_handle_t* handle, source = handle->data; - uv_link_invoke_alloc_cb(&source->link, suggested_size, buf); + uv_link_propagate_alloc_cb(&source->link, suggested_size, buf); } @@ -37,7 +37,7 @@ static void uv_link_source_wrap_read_cb(uv_stream_t* stream, source = stream->data; - uv_link_invoke_read_cb(&source->link, nread, buf); + uv_link_propagate_read_cb(&source->link, nread, buf); } diff --git a/src/uv_link_t.c b/src/uv_link_t.c index fc6eabc..3e5436c 100644 --- a/src/uv_link_t.c +++ b/src/uv_link_t.c @@ -73,9 +73,9 @@ int uv_link_unchain(uv_link_t* from, uv_link_t* to) { } -void uv_link_invoke_alloc_cb(uv_link_t* link, - size_t suggested_size, - uv_buf_t* buf) { +void uv_link_propagate_alloc_cb(uv_link_t* link, + size_t suggested_size, + uv_buf_t* buf) { uv_link_t* target; target = link; @@ -86,9 +86,9 @@ void uv_link_invoke_alloc_cb(uv_link_t* link, } -void uv_link_invoke_read_cb(uv_link_t* link, - ssize_t nread, - const uv_buf_t* buf) { +void uv_link_propagate_read_cb(uv_link_t* link, + ssize_t nread, + const uv_buf_t* buf) { uv_link_t* target; target = link; |