Use p_new instead of xmalloc()
[apps/madmutt.git] / lib-crypt / pgp.h
index 30e17b8..1b544ee 100644 (file)
@@ -30,13 +30,13 @@ int mutt_check_pgp (HEADER * h);
 
 int pgp_decrypt_mime (FILE *, FILE **, BODY *, BODY **);
 
-/* int pgp_string_matches_hint (const char *s, LIST * hints); */
+/* int pgp_string_matches_hint (const char *s, string_list_t * hints); */
 
-/* pgp_key_t gpg_get_candidates (struct pgp_vinfo *, pgp_ring_t, LIST *); */
+/* pgp_key_t gpg_get_candidates (struct pgp_vinfo *, pgp_ring_t, string_list_t *); */
 pgp_key_t pgp_ask_for_key (char *, char *, short, pgp_ring_t);
-pgp_key_t pgp_get_candidates (pgp_ring_t, LIST *);
+pgp_key_t pgp_get_candidates (pgp_ring_t, string_list_t *);
 pgp_key_t pgp_getkeybyaddr (address_t *, short, pgp_ring_t);
-pgp_key_t pgp_getkeybystr (char *, short, pgp_ring_t);
+pgp_key_t pgp_getkeybystr (const char *, short, pgp_ring_t);
 
 char *pgp_findKeys (address_t * to, address_t * cc, address_t * bcc);
 
@@ -73,7 +73,7 @@ pid_t pgp_invoke_verify_key (FILE ** pgpin, FILE ** pgpout, FILE ** pgperr,
                              const char *uids);
 pid_t pgp_invoke_list_keys (FILE ** pgpin, FILE ** pgpout, FILE ** pgperr,
                             int pgpinfd, int pgpoutfd, int pgperrfd,
-                            pgp_ring_t keyring, LIST * hints);
+                            pgp_ring_t keyring, string_list_t * hints);
 pid_t pgp_invoke_traditional (FILE ** pgpin, FILE ** pgpout, FILE ** pgperr,
                               int pgpinfd, int pgpoutfd, int pgperrfd,
                               const char *fname, const char *uids, int flags);