#include <stdbool.h>
#include <stddef.h>
#include <uv.h>
#include "nvim/event/loop.h"
#include "nvim/rbuffer.h"
Go to the source code of this file.
◆ Stream
◆ stream_close_cb
◆ stream_read_cb
Type of function called when the Stream buffer is filled with data
- Parameters
-
stream | The Stream instance |
buf | The associated RBuffer instance |
count | Number of bytes that was read. |
data | User-defined data |
eof | If the stream reached EOF. |
◆ stream_write_cb
Type of function called when the Stream has information about a write request.
- Parameters
-
stream | The Stream instance |
data | User-defined data |
status | 0 on success, anything else indicates failure |