X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-msg.h;h=88d4532e074b8792f7a4042b5a137a549ffe9995;hb=b036b71a49b964be49cbfb2d18b80816aa818a5d;hp=a15372b0723f2bc8269f8f36128974a8cfd73d4a;hpb=0fd7e1f7c631aa932f8931e33496960957dba074;p=modest diff --git a/src/modest-tny-msg.h b/src/modest-tny-msg.h index a15372b..88d4532 100644 --- a/src/modest-tny-msg.h +++ b/src/modest-tny-msg.h @@ -197,4 +197,16 @@ modest_tny_msg_estimate_size (const gchar *plain_body, const gchar *html_body, guint64 parts_count, guint64 parts_size); +/** + * modest_tny_msg_get_all_recipients_list: + * @msg: a #TnyMsg + * + * Obtains a list of all the addresses available in a message header. + * + * Returns: a newly allocated #GSList of strings. Caller should free strings and list. + */ +GSList * +modest_tny_msg_get_all_recipients_list (TnyMsg *msg); + + #endif /* __MODEST_TNY_MSG_H__ */