aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2005-07-04 04:55:48 +0000
committerMarcus Brinkmann <[email protected]>2005-07-04 04:55:48 +0000
commit51a164e75270b7e3bdf36b3ffab023592df15fc9 (patch)
treec960eb136f6d30d516992d5e1517cbf65dae8417 /common/simple-pwquery.h
parent(data_sign): Removed empty statement. (diff)
downloadgnupg-51a164e75270b7e3bdf36b3ffab023592df15fc9.tar.gz
gnupg-51a164e75270b7e3bdf36b3ffab023592df15fc9.zip
2005-07-04 Marcus Brinkmann <[email protected]>
* simple-pwquery.h (simple_pwclear): New prototype. * simple-pwquery.c (simple_pwclear): New function.
Diffstat (limited to 'common/simple-pwquery.h')
-rw-r--r--common/simple-pwquery.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/simple-pwquery.h b/common/simple-pwquery.h
index c7ebf9401..e3270d6c5 100644
--- a/common/simple-pwquery.h
+++ b/common/simple-pwquery.h
@@ -57,6 +57,9 @@ char *simple_pwquery (const char *cacheid,
const char *description,
int *errorcode);
+/* Ask the gpg-agent to clear the passphrase for the cache ID CACHEID. */
+int simple_pwclear (const char *cacheid);
+
/* Perform the simple query QUERY (which must be new-line and 0
terminated) and return the error code. */
int simple_query (const char *query);