libuv_process.h
Go to the documentation of this file.
1 #ifndef NVIM_EVENT_LIBUV_PROCESS_H
2 #define NVIM_EVENT_LIBUV_PROCESS_H
3 
4 #include <uv.h>
5 
6 #include "nvim/event/process.h"
7 
8 typedef struct libuv_process {
10  uv_process_t uv;
11  uv_process_options_t uvopts;
12  uv_stdio_container_t uvstdio[3];
13 } LibuvProcess;
14 
15 static inline LibuvProcess libuv_process_init(Loop *loop, void *data)
16 {
17  LibuvProcess rv = {
18  .process = process_init(loop, kProcessTypeUv, data)
19  };
20  return rv;
21 }
22 
23 #ifdef INCLUDE_GENERATED_DECLARATIONS
24 # include "event/libuv_process.h.generated.h"
25 #endif
26 #endif // NVIM_EVENT_LIBUV_PROCESS_H
Definition: process.h:17
Process process
Definition: libuv_process.h:9
uv_process_t uv
Definition: libuv_process.h:10
Definition: libuv_process.h:8
uv_process_options_t uvopts
Definition: libuv_process.h:11
struct libuv_process LibuvProcess
Definition: loop.h:17
Definition: process.h:9
uv_stdio_container_t uvstdio[3]
Definition: libuv_process.h:12