Displaying 1 result from an estimated 1 matches for "local_env_mod".
Did you mean:
local_env_mods
2011 Jan 07
1
[RFC/PATCH] ssh: config directive to modify the local environment
...KexAlgorithms },
{ "ipqos", oIPQoS },
+ { "localenvmod", oLocalEnvMod },
{ NULL, oBadOption }
};
@@ -325,6 +326,45 @@ clear_forwardings(Options *options)
}
/*
+ * Adds a command to modify the local environment. Never returns if there is an
+ * error.
+ */
+
+void
+add_local_env_mod(Options *options, const EnvMod *newmod)
+{
+ EnvMod *mod;
+
+ options->local_env_mods = xrealloc(options->local_env_mods,
+ options->num_local_env_mods + 1,
+ sizeof(*options->local_env_mods));
+ mod = &options->local_env_mods[options->num_local_env_mods++];
+
+ mod-&g...