diff options
author | Werner Koch <[email protected]> | 2014-04-15 14:40:48 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-04-22 13:02:05 +0000 |
commit | 1a87edab6657a257876ab2f8790f2937feba7066 (patch) | |
tree | 5dc04c43a71388a9437dbfc5d1686d69556210b0 /common/sysutils.h | |
parent | gpg: Print a warning if GKR has hijacked gpg-agent. (diff) | |
download | gnupg-1a87edab6657a257876ab2f8790f2937feba7066.tar.gz gnupg-1a87edab6657a257876ab2f8790f2937feba7066.zip |
common: Add function gnupg_getcwd.
* tools/gpg-connect-agent.c (gnu_getcwd): Move to ...
* common/sysutils.c (gnupg_getcwd): .. here.
* tools/gpg-connect-agent.c (get_var_ext): Use gnupg_getcwd.
Diffstat (limited to 'common/sysutils.h')
-rw-r--r-- | common/sysutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/sysutils.h b/common/sysutils.h index da2c2509d..d139665ac 100644 --- a/common/sysutils.h +++ b/common/sysutils.h @@ -63,6 +63,7 @@ int gnupg_remove (const char *fname); int gnupg_mkdir (const char *name, const char *modestr); int gnupg_setenv (const char *name, const char *value, int overwrite); int gnupg_unsetenv (const char *name); +char *gnupg_getcwd (void); #ifdef HAVE_W32_SYSTEM void *w32_get_user_sid (void); |