1#ifndef NVIM_OS_SHELL_H
2#define NVIM_OS_SHELL_H
3
4#include <stdio.h>
5
6#include "nvim/types.h"
7
8// Flags for os_call_shell() second argument
9typedef enum {
10 kShellOptFilter = 1, ///< filtering text
11 kShellOptExpand = 2, ///< expanding wildcards
12 kShellOptDoOut = 4, ///< redirecting output
13 kShellOptSilent = 8, ///< don't print error returned by command
14 kShellOptRead = 16, ///< read lines and insert into buffer
15 kShellOptWrite = 32, ///< write lines from buffer
16 kShellOptHideMess = 64, ///< previously a global variable from os_unix.c
17} ShellOpts;
18
19#ifdef INCLUDE_GENERATED_DECLARATIONS
20# include "os/shell.h.generated.h"
21#endif
22#endif // NVIM_OS_SHELL_H
23