Mercurial > pidgin
diff src/protocols/msn/utils.h @ 8518:833dd756dcc3
[gaim-migrate @ 9257]
Patch by David Vermeille to add outgoing formatting support for MSN. I'd
like to thank him, as a number of people have attempted this patch and
ended up discouraged when told it would break core/UI split. David went
ahead and stuck through it, and we now have some decent support. I also
realized during this that we weren't processing certain incoming colors
correctly, so that's taken care of now.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sun, 28 Mar 2004 21:38:22 +0000 |
| parents | 06f57183e29f |
| children | 45e8c6cbd4a5 |
line wrap: on
line diff
--- a/src/protocols/msn/utils.h Sun Mar 28 19:53:43 2004 +0000 +++ b/src/protocols/msn/utils.h Sun Mar 28 21:38:22 2004 +0000 @@ -33,4 +33,15 @@ */ void msn_parse_format(const char *mime, char **pre_ret, char **post_ret); +/** + * Parses the Gaim message formatting (html) into the MSN format. + * + * @param html The html message to format. + * @param attributes The returned attributes string. + * @param message The returned message string. + * + * @return The new message. + */ +void msn_import_html(const char *html, char **attributes, char **message); + #endif /* _MSN_UTILS_H_ */
