summaryrefslogtreecommitdiffstats
path: root/sm/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-04-28 10:59:34 +0200
committerWerner Koch <wk@gnupg.org>2004-04-28 10:59:34 +0200
commit236d241aed4c21a89157add693cef23ad66405be (patch)
treebedcf9be67f533bcf13813ae4267d09e76de0ed1 /sm/keydb.h
parent* app-common.h: New members FNC.DEINIT and APP_LOCAL. (diff)
downloadgnupg2-236d241aed4c21a89157add693cef23ad66405be.tar.xz
gnupg2-236d241aed4c21a89157add693cef23ad66405be.zip
* gpgsm.c: New command --keydb-clear-some-cert-flags.
* keydb.c (keydb_clear_some_cert_flags): New. (keydb_update_keyblock, keydb_set_flags): Change error code CONFLICT to NOT_LOCKED.
Diffstat (limited to 'sm/keydb.h')
-rw-r--r--sm/keydb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/keydb.h b/sm/keydb.h
index 2e9ed1573..924ad77c4 100644
--- a/sm/keydb.h
+++ b/sm/keydb.h
@@ -75,6 +75,8 @@ int keydb_store_cert (ksba_cert_t cert, int ephemeral, int *existed);
gpg_error_t keydb_set_cert_flags (ksba_cert_t cert, int which, int idx,
unsigned int value);
+void keydb_clear_some_cert_flags (ctrl_t ctrl, STRLIST names);
+
#endif /*GNUPG_KEYDB_H*/