diff options
author | Werner Koch <[email protected]> | 2006-07-27 14:18:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-07-27 14:18:55 +0000 |
commit | de5070caf07854852a36722a0d85453cbbc93c84 (patch) | |
tree | 39ae89adce5a02311686d4b86bedc1e05b9fbaca /g10/keydb.h | |
parent | Create bag attributes so that Mozilla will accept these files. (diff) | |
download | gnupg-1.9.22.tar.gz gnupg-1.9.22.zip |
Preparing a new releasegnupg-1.9.22
Diffstat (limited to '')
-rw-r--r-- | g10/keydb.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index f8be6efb9..2aab31cfa 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -144,6 +144,14 @@ struct keydb_search_desc { int exact; }; + +/* Helper type for preference fucntions. */ +union pref_hint +{ + int digest_length; +}; + + /*-- keydb.c --*/ /* @@ -175,9 +183,10 @@ void show_revocation_reason( PKT_public_key *pk, int mode ); int check_signatures_trust( PKT_signature *sig ); void release_pk_list( PK_LIST pk_list ); int build_pk_list( STRLIST rcpts, PK_LIST *ret_pk_list, unsigned use ); -int algo_available( preftype_t preftype, int algo, void *hint ); +int algo_available( preftype_t preftype, int algo, + const union pref_hint *hint ); int select_algo_from_prefs( PK_LIST pk_list, int preftype, - int request, void *hint ); + int request, const union pref_hint *hint); int select_mdc_from_pklist (PK_LIST pk_list); /*-- skclist.c --*/ |