diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
commit | de532922d9ab42aa15b40d47c8db53ac2af38500 (patch) | |
tree | d6b7c6b21c7a6e0e3620a3e0c7198e63454d05e3 /src/nxt_stream_source.h | |
parent | 16cbf3c076a0aca6d47adaf3f719493674cf2363 (diff) | |
download | unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.gz unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.bz2 |
Introducing tasks.
Diffstat (limited to 'src/nxt_stream_source.h')
-rw-r--r-- | src/nxt_stream_source.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_stream_source.h b/src/nxt_stream_source.h index ae8d5b71..27a6bfc8 100644 --- a/src/nxt_stream_source.h +++ b/src/nxt_stream_source.h @@ -10,7 +10,8 @@ typedef struct nxt_stream_source_s nxt_stream_source_t; -typedef void (*nxt_stream_source_handler_t)(nxt_stream_source_t *u); +typedef void (*nxt_stream_source_handler_t)(nxt_task_t *task, + nxt_stream_source_t *s); struct nxt_stream_source_s { nxt_event_conn_t *conn; @@ -25,7 +26,7 @@ struct nxt_stream_source_s { }; -void nxt_stream_source_connect(nxt_stream_source_t *stream); +void nxt_stream_source_connect(nxt_task_t *task, nxt_stream_source_t *stream); #endif /* _NXT_STREAM_SOURCE_H_INCLUDED_ */ |