summaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1997-12-31 13:32:54 +0100
committerWerner Koch <wk@gnupg.org>1997-12-31 13:32:54 +0100
commit4d2636eafe40bc11f2f08254ad9f5a5d376cb268 (patch)
treef3e5a05befb494ba699d8607802370b9576dcd20 /g10/keydb.h
parentchanged configuration stuff, replaced some Makefile.am by distfiles. (diff)
downloadgnupg2-4d2636eafe40bc11f2f08254ad9f5a5d376cb268.tar.xz
gnupg2-4d2636eafe40bc11f2f08254ad9f5a5d376cb268.zip
Sylvester Version
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index fe093205b..f0d8b517b 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -55,7 +55,30 @@ struct keyblock_pos_struct {
};
typedef struct keyblock_pos_struct KBPOS;
+/* structure to hold a couple of public key certificates */
+typedef struct pkc_list *PKC_LIST;
+struct pkc_list {
+ PKC_LIST next;
+ PKT_public_cert *pkc;
+ int mark;
+};
+
+/* structure to hold a couple of secret key certificates */
+typedef struct skc_list *SKC_LIST;
+struct skc_list {
+ SKC_LIST next;
+ PKT_secret_cert *skc;
+ int mark;
+};
+
+
+/*-- pkclist.c --*/
+void release_pkc_list( PKC_LIST pkc_list );
+int build_pkc_list( STRLIST remusr, PKC_LIST *ret_pkc_list );
+/*-- skclist.c --*/
+void release_skc_list( SKC_LIST skc_list );
+int build_skc_list( STRLIST locusr, SKC_LIST *ret_skc_list, int unlock );
/*-- passphrase.h --*/
DEK *get_passphrase_hash( u32 *keyid, char *text );