diff src/protocols/qq/utils.h @ 14015:9516a796ed5f

[gaim-migrate @ 16607] Added a debugging tool for firing custom packets at the QQ server. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Tue, 01 Aug 2006 17:39:47 +0000
parents 16102b9c5c4a
children 8294485b79db
line wrap: on
line diff
--- a/src/protocols/qq/utils.h	Tue Aug 01 16:15:39 2006 +0000
+++ b/src/protocols/qq/utils.h	Tue Aug 01 17:39:47 2006 +0000
@@ -28,21 +28,22 @@
 
 #define QQ_NAME_PREFIX    "qq-"
 
-gchar *get_name_by_index_str(gchar ** array, const gchar * index_str, gint amount);
-gchar *get_index_str_by_name(gchar ** array, const gchar * name, gint amount);
-gint qq_string_to_dec_value(const gchar * str);
+gchar *get_name_by_index_str(gchar **array, const gchar *index_str, gint amount);
+gchar *get_index_str_by_name(gchar **array, const gchar *name, gint amount);
+gint qq_string_to_dec_value(const gchar *str);
 
-gchar **split_data(guint8 * data, gint len, const gchar * delimit, gint expected_fields);
-gchar *gen_ip_str(guint8 * ip);
+gchar **split_data(guint8 *data, gint len, const gchar *delimit, gint expected_fields);
+gchar *gen_ip_str(guint8 *ip);
 guint8 *str_ip_gen(gchar *str);
 gchar *uid_to_gaim_name(guint32 uid);
 
-guint32 gaim_name_to_uid(const gchar * name);
+guint32 gaim_name_to_uid(const gchar *name);
 
 gchar *get_icon_name(gint set, gint suffix);
 
-void try_dump_as_gbk(guint8 * data, gint len);
+void try_dump_as_gbk(guint8 *data, gint len);
 
-gchar *hex_dump_to_str(const guint8 * buf, gint buf_len);
+guint8 *hex_str_to_bytes(const gchar *buf);
+gchar *hex_dump_to_str(const guint8 *buf, gint buf_len);
 
 #endif