summaryrefslogtreecommitdiffstats
path: root/autocrypt/autocrypt_private.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-07-18 13:19:47 -0700
committerKevin McCarthy <kevin@8t8.us>2019-08-03 14:08:09 -0700
commit8f0f0da25dbfa73fca795f97bd5e65ba8f16d08b (patch)
tree2ec5e79f0e815c6dcabe8a301467ced491bffc4c /autocrypt/autocrypt_private.h
parenta2a2e88524eafdbb49bdfdbdab557953a6cc9372 (diff)
Change autocrypt_db normalization to return ADDRESS.
This makes reusing the code in autocrypt.c easier.
Diffstat (limited to 'autocrypt/autocrypt_private.h')
-rw-r--r--autocrypt/autocrypt_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/autocrypt/autocrypt_private.h b/autocrypt/autocrypt_private.h
index de8638f9..1ba51920 100644
--- a/autocrypt/autocrypt_private.h
+++ b/autocrypt/autocrypt_private.h
@@ -26,6 +26,8 @@ int mutt_autocrypt_account_init (void);
int mutt_autocrypt_db_init (int can_create);
void mutt_autocrypt_db_close (void);
+void mutt_autocrypt_db_normalize_addrlist (ADDRESS *addrlist);
+
AUTOCRYPT_ACCOUNT *mutt_autocrypt_db_account_new (void);
void mutt_autocrypt_db_account_free (AUTOCRYPT_ACCOUNT **account);
int mutt_autocrypt_db_account_get (ADDRESS *addr, AUTOCRYPT_ACCOUNT **account);