Commit 517d2391 authored by Niels Möller's avatar Niels Möller
Browse files

Define a bunch of PATH_* and ENV_* constants.

Rev: src/environ.h.in:1.2
parent fa0cb469
......@@ -9,3 +9,33 @@
#define SBINDIR "@sbindir@"
#define LIBEXECDIR "@libexecdir@"
#define SYSCONFDIR "@sysconfdir@"
/* Filenames of installed lsh programs. Names of external programs, in
* particular xauth, are in config.h. */
#define PATH_SEXP_CONV BINDIR "/sexp-conv"
#define PATH_KERBEROS_HELPER SBINDIR "/lsh-krb-checkpw"
#define PATH_EXECUV SBINDIR "/lsh-execuv"
/* Some other files: /dev/null, /tmp/.X11-unix..., /var/run, /, /tmp,
* /var/spool/lsh/yarrow-seed-file, /etc/lsh_host_key,
* /var/run/lsh_proxy.pid, /var/run/lshd.pid, /dev/ptmx, /dev/ptyxx,
* /dev/ttyxx, /tmp/.X11-unix, /var/adm/wtmp, /var/adm/wtmpx,
* /bin/sh. */
/* Environment variables. These definitions serve mostly as a way to
* keep track of all the environment variables that are used.*/
#define ENV_DISPLAY "DISPLAY"
#define ENV_HOME "HOME"
#define ENV_LOGNAME "LOGNAME"
#define ENV_SEED_FILE "LSH_YARROW_SEED_FILE"
#define ENV_PATH "PATH"
#define ENV_SEXP_CONV "SEXP_CONV"
#define ENV_SHELL "SHELL"
#define ENV_SSH_CLIENT "SSH_CLIENT"
#define ENV_SSH_TTY "SSH_TTY"
#define ENV_TERM "TERM"
#define ENV_TMPDIR "TMPDIR"
#define ENV_TZ "TZ"
#define ENV_USER "USER"
#define ENV_XAUTHORITY "XAUTHORITY"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment