home/src/env_vars.hh
Maxime Coste 203a7732f5 Add support for querying client environement variables
At connection, a remote client sends all its environement to the
server, which then provides access to client env through
kak_client_env_VAR_NAME variables in the shell.
2014-04-07 23:47:51 +01:00

19 lines
245 B
C++

#ifndef env_vars_hh_INCLUDED
#define env_vars_hh_INCLUDED
#include "string.hh"
#include <unordered_map>
namespace Kakoune
{
using EnvVarMap = std::unordered_map<String, String>;
EnvVarMap get_env_vars();
}
#endif // env_vars_hh_INCLUDED