aboutsummaryrefslogtreecommitdiffstats
path: root/common/session-env.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-02-12 10:15:21 +0000
committerWerner Koch <[email protected]>2025-02-12 10:15:21 +0000
commit7a472525169a151d49adda7bcc6d8269dfca7ec6 (patch)
tree3081d294f9fb05538c46b708471ced141af744b4 /common/session-env.h
parentgpgsm: Remove unused function. (diff)
downloadgnupg-7a472525169a151d49adda7bcc6d8269dfca7ec6.tar.gz
gnupg-7a472525169a151d49adda7bcc6d8269dfca7ec6.zip
agent: New option --change-std-env-name.
* common/session-env.c (stdenvnames): Add field "disabled". (INITIAL_ARRAYSIZE): Increase size a bit. (session_env_mod_stdenvnames): New. (session_env_list_stdenvnames): Handle the disabled flag. * agent/gpg-agent.c (oChangeStdEnvName): New. (opts): Add --change-std-env-name. (main): Implement option. -- GnuPG-bug-id: 7522
Diffstat (limited to 'common/session-env.h')
-rw-r--r--common/session-env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/session-env.h b/common/session-env.h
index 8709e223c..c5ceccbd0 100644
--- a/common/session-env.h
+++ b/common/session-env.h
@@ -33,6 +33,7 @@
struct session_environment_s;
typedef struct session_environment_s *session_env_t;
+void session_env_mod_stdenvnames (const char *name);
const char *session_env_list_stdenvnames (int *iterator,
const char **r_assname);