aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pipe_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/pipe_process.h')
-rw-r--r--src/nvim/os/pipe_process.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/os/pipe_process.h b/src/nvim/os/pipe_process.h
index 17a4255ddc..65e5cfa78f 100644
--- a/src/nvim/os/pipe_process.h
+++ b/src/nvim/os/pipe_process.h
@@ -1,6 +1,16 @@
#ifndef NVIM_OS_PIPE_PROCESS_H
#define NVIM_OS_PIPE_PROCESS_H
+#include <uv.h>
+
+typedef struct {
+ // Structures for process spawning/management used by libuv
+ uv_process_t proc;
+ uv_process_options_t proc_opts;
+ uv_stdio_container_t stdio[3];
+ uv_pipe_t proc_stdin, proc_stdout, proc_stderr;
+} UvProcess;
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os/pipe_process.h.generated.h"
#endif