aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-06-17 10:59:29 +0000
committerWerner Koch <[email protected]>2015-06-17 10:59:29 +0000
commit010d26a85bfe15c4aa12eefeab851dbde0609c26 (patch)
tree539f5f9a035ccb83861fe63a0390c0d317573b0d /common/util.h
parentdirmngr: Cleanup zombies and fix hang on shutdown. (diff)
downloadgnupg-010d26a85bfe15c4aa12eefeab851dbde0609c26.tar.gz
gnupg-010d26a85bfe15c4aa12eefeab851dbde0609c26.zip
agent: Print a warning for obsolete options.
* g10/misc.c (obsolete_scdaemon_option): Move to * common/miscellaneous.c (obsolete_option): ... here. * agent/gpg-agent.c (main): Use obsolete_option for the 3 obsolete options. -- GnuPG-bug-id: 2016 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 0e585df54..82e9887d6 100644
--- a/common/util.h
+++ b/common/util.h
@@ -370,6 +370,9 @@ char *xtryasprintf (const char *fmt, ...) GPGRT_GCC_A_PRINTF(1,2);
/* Replacement for gcry_cipher_algo_name. */
const char *gnupg_cipher_algo_name (int algo);
+void obsolete_option (const char *configname, unsigned int configlineno,
+ const char *name);
+
const char *print_fname_stdout (const char *s);
const char *print_fname_stdin (const char *s);
void print_utf8_buffer3 (estream_t fp, const void *p, size_t n,