summaryrefslogtreecommitdiffstats
path: root/sm/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-09-02 17:27:30 +0200
committerWerner Koch <wk@gnupg.org>2020-09-03 13:49:20 +0200
commita7d006293ec84532cc1972cd2f990198eadf1a1a (patch)
treee24545df6161f24cde5cbe4ca1e1153a5785b221 /sm/keydb.h
parentscd: Add handling of "Algorithm Information" DO. (diff)
downloadgnupg2-a7d006293ec84532cc1972cd2f990198eadf1a1a.tar.xz
gnupg2-a7d006293ec84532cc1972cd2f990198eadf1a1a.zip
sm: Add arg ctrl to keydb_new.
* sm/keydb.c (keydb_new): Add arg and change all callers. -- This will be used later.
Diffstat (limited to 'sm/keydb.h')
-rw-r--r--sm/keydb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.h b/sm/keydb.h
index 1ab94a2c2..2d766ad9d 100644
--- a/sm/keydb.h
+++ b/sm/keydb.h
@@ -33,7 +33,7 @@ typedef struct keydb_handle *KEYDB_HANDLE;
/*-- keydb.c --*/
gpg_error_t keydb_add_resource (ctrl_t ctrl, const char *url,
int force, int *auto_created);
-KEYDB_HANDLE keydb_new (void);
+KEYDB_HANDLE keydb_new (ctrl_t ctrl);
void keydb_release (KEYDB_HANDLE hd);
int keydb_set_ephemeral (KEYDB_HANDLE hd, int yes);
const char *keydb_get_resource_name (KEYDB_HANDLE hd);