comparison libgaim/protocols/msn/msn-utils.h @ 20391:0b0ecee55091

The second msn.tgz from SF Patch #1621854 from Ka-Hing Cheung. "new version, fixes some crashes because group_id is char * but in some places it's set to an int (!). skadotnet, I don't understand why you need `if (!strcmp(type, "MFN")) {` in so many places, so I didn't include most of them. I also have different versions of some of your fixes because I already fixed them. Group manipulations may still not work, at least it's not crashing :-)" committer: Richard Laager <rlaager@wiktel.com>
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 15 Apr 2007 02:43:47 +0000
parents e354528c4163
children 9ba7dee775e1
comparison
equal deleted inserted replaced
20390:d634f88e25d8 20391:0b0ecee55091
23 */ 23 */
24 #ifndef _MSN_UTILS_H_ 24 #ifndef _MSN_UTILS_H_
25 #define _MSN_UTILS_H_ 25 #define _MSN_UTILS_H_
26 26
27 /*encode the str to RFC2047 style*/ 27 /*encode the str to RFC2047 style*/
28 char * msn_encode_mime(char *str); 28 char * msn_encode_mime(const char *str);
29 29
30 /** 30 /**
31 * Generate the Random GUID 31 * Generate the Random GUID
32 */ 32 */
33 char * rand_guid(); 33 char * rand_guid(void);
34 34
35 /** 35 /**
36 * Parses the MSN message formatting into a format compatible with Gaim. 36 * Parses the MSN message formatting into a format compatible with Gaim.
37 * 37 *
38 * @param mime The mime header with the formatting. 38 * @param mime The mime header with the formatting.