aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/uv_helpers.h
blob: ea797ba9f0f23f813633c781b04b7251d35949e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NVIM_OS_UV_HELPERS_H
#define NVIM_OS_UV_HELPERS_H

#include <uv.h>

#include "nvim/os/wstream_defs.h"
#include "nvim/os/rstream_defs.h"
#include "nvim/os/job_defs.h"

RStream *handle_get_rstream(uv_handle_t *handle);

void handle_set_rstream(uv_handle_t *handle, RStream *rstream);

WStream *handle_get_wstream(uv_handle_t *handle);

void handle_set_wstream(uv_handle_t *handle, WStream *wstream);

Job *handle_get_job(uv_handle_t *handle);

void handle_set_job(uv_handle_t *handle, Job *job);

#endif  // NVIM_OS_UV_HELPERS_H