summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-23 10:15:34 +0100
committerWerner Koch <wk@gnupg.org>2011-02-23 10:15:34 +0100
commit7c03c8cc65e68f1d77a5a5a497025191fe5df5e9 (patch)
tree8916c0dabdbcbc772c803217510cad6bf7c633ed /tools/gpgconf.h
parentFix ChnageLog entries. (diff)
downloadgnupg2-7c03c8cc65e68f1d77a5a5a497025191fe5df5e9.tar.xz
gnupg2-7c03c8cc65e68f1d77a5a5a497025191fe5df5e9.zip
Lock scdaemon to CCID if once found.
This solves a problem where ccid was used, the card unplugged and then scdaemon tries to find a new (plugged in) reader and thus will eventually try PC/SC over and over again. Also added an explicit --kill command to gpgconf.
Diffstat (limited to '')
-rw-r--r--tools/gpgconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpgconf.h b/tools/gpgconf.h
index 3b8d80b0e..9caa0d490 100644
--- a/tools/gpgconf.h
+++ b/tools/gpgconf.h
@@ -44,6 +44,9 @@ char *gc_percent_escape (const char *src);
void gc_error (int status, int errnum, const char *fmt, ...);
+/* Kill given component. */
+void gc_component_kill (int component);
+
/* Reload given component. */
void gc_component_reload (int component);