Functions
rstream.c File Reference
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <uv.h>
#include "nvim/event/rstream.h"
#include "nvim/ascii.h"
#include "nvim/vim.h"
#include "nvim/memory.h"
#include "nvim/log.h"
#include "nvim/misc1.h"
#include "nvim/event/loop.h"

Functions

void rstream_init_fd (Loop *loop, Stream *stream, int fd, size_t bufsize) FUNC_ATTR_NONNULL_ARG(1
 
void rstream_init (stream, bufsize)
 
void rstream_init_stream (Stream *stream, uv_stream_t *uvstream, size_t bufsize) FUNC_ATTR_NONNULL_ARG(1
 
void rstream_init (Stream *stream, size_t bufsize) FUNC_ATTR_NONNULL_ARG(1)
 
void rstream_start (Stream *stream, stream_read_cb cb, void *data) FUNC_ATTR_NONNULL_ARG(1)
 
void rstream_stop (Stream *stream) FUNC_ATTR_NONNULL_ALL
 

Function Documentation

void rstream_init ( stream  ,
bufsize   
)
Initial value:
{
stream_init(NULL, stream, -1, uvstream)
void stream_init(Loop *loop, Stream *stream, int fd, uv_stream_t *uvstream) FUNC_ATTR_NONNULL_ARG(2)
Definition: stream.c:39
return NULL
Definition: eval.c:23643
Definition: stream.h:32
void rstream_init ( Stream stream,
size_t  bufsize 
)
void rstream_init_fd ( Loop loop,
Stream stream,
int  fd,
size_t  bufsize 
)
void rstream_init_stream ( Stream stream,
uv_stream_t *  uvstream,
size_t  bufsize 
)
void rstream_start ( Stream stream,
stream_read_cb  cb,
void *  data 
)

Starts watching for events from a Stream instance.

Parameters
streamThe Stream instance
void rstream_stop ( Stream stream)

Stops watching for events from a Stream instance.

Parameters
streamThe Stream instance