aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keydb.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sm/keydb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/keydb.h b/sm/keydb.h
index 9032c5296..0721f431a 100644
--- a/sm/keydb.h
+++ b/sm/keydb.h
@@ -32,6 +32,7 @@ typedef struct keydb_handle *KEYDB_HANDLE;
int keydb_add_resource (const char *url, int force, int secret);
KEYDB_HANDLE keydb_new (int secret);
void keydb_release (KEYDB_HANDLE hd);
+int keydb_set_ephemeral (KEYDB_HANDLE hd, int yes);
const char *keydb_get_resource_name (KEYDB_HANDLE hd);
#if 0 /* pgp stuff */
@@ -62,7 +63,7 @@ int keydb_search_subject (KEYDB_HANDLE hd, const char *issuer);
int keydb_classify_name (const char *name, KEYDB_SEARCH_DESC *desc);
-int keydb_store_cert (KsbaCert cert);
+int keydb_store_cert (KsbaCert cert, int ephemeral);
#endif /*GNUPG_KEYDB_H*/