* crypto: implement automagic decryption when so requested

(mainly by adding some smartness to various part_foreach functions, adding
  mu_msg_(get|set)_auto_decrypt to mark a message for auto-decryption)
This commit is contained in:
djcb
2012-07-27 18:04:17 +03:00
parent c88aea5285
commit 8432156765
6 changed files with 234 additions and 65 deletions

View File

@ -123,7 +123,7 @@ typedef struct _MuMsgPart MuMsgPart;
*
* @return utf8 string for this MIME part, to be freed by caller
*/
char* mu_msg_part_get_text (MuMsgPart *part, gboolean *err);
char* mu_msg_part_get_text (MuMsg *msg, MuMsgPart *part, gboolean *err);
/**
@ -211,6 +211,8 @@ gchar* mu_msg_part_filepath_cache (MuMsg *msg, guint partid)
*/
int mu_msg_part_find_cid (MuMsg *msg, const char* content_id);
/**
* retrieve a list of indices for mime-parts with filenames matching a regex
*