comparison src/protocols/qq/char_conv.h @ 14021:ef8490f9e823

[gaim-migrate @ 16618] Replaced all C++-style comments with C-style ones. Cleaned up some comments and implemented a more consistent formatting scheme. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Wed, 02 Aug 2006 15:35:36 +0000
parents 983fd420e86b
children
comparison
equal deleted inserted replaced
14020:13e7ba964993 14021:ef8490f9e823
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 21 */
22 22
23 // START OF FILE
24 /*****************************************************************************/
25 #ifndef _QQ_CHAR_CONV_H_ 23 #ifndef _QQ_CHAR_CONV_H_
26 #define _QQ_CHAR_CONV_H_ 24 #define _QQ_CHAR_CONV_H_
27 25
28 #include <glib.h> 26 #include <glib.h>
29 27
30 #define QQ_CHARSET_DEFAULT "GBK" 28 #define QQ_CHARSET_DEFAULT "GBK"
31 29
32 gint convert_as_pascal_string(guint8 * data, gchar ** ret, const gchar * from_charset); 30 gint convert_as_pascal_string(guint8 *data, gchar **ret, const gchar *from_charset);
33 31
34 gchar *qq_smiley_to_gaim(gchar * text); 32 gchar *qq_smiley_to_gaim(gchar *text);
35 33
36 gchar *gaim_smiley_to_qq(gchar * text); 34 gchar *gaim_smiley_to_qq(gchar *text);
37 35
38 gchar *utf8_to_qq(const gchar * str, const gchar * to_charset); 36 gchar *utf8_to_qq(const gchar *str, const gchar *to_charset);
39 gchar *qq_to_utf8(const gchar * str, const gchar * from_charset); 37 gchar *qq_to_utf8(const gchar *str, const gchar *from_charset);
40 gchar *qq_encode_to_gaim(guint8 * font_attr_data, gint len, const gchar * msg); 38 gchar *qq_encode_to_gaim(guint8 *font_attr_data, gint len, const gchar *msg);
41 39
42 gchar *qq_im_filter_html(const gchar * text); 40 gchar *qq_im_filter_html(const gchar *text);
43 41
44 #endif 42 #endif
45 /*****************************************************************************/
46 // END OF FILE