comparison libgaim/protocols/qq/qq.h @ 15139:e952a5fc97b3

[gaim-migrate @ 17924] Added support for QQ levels Allow 3rd party clients to specify the location of the buddy icon dir Minor code cleanup committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Sat, 09 Dec 2006 06:34:48 +0000
parents 2c93b0620065
children e9db26a103eb
comparison
equal deleted inserted replaced
15138:2409a2508650 15139:e952a5fc97b3
35 #define QQ_KEY_LENGTH 16 35 #define QQ_KEY_LENGTH 16
36 #define QQ_DEBUG 1 /* whether we are doing DEBUG */ 36 #define QQ_DEBUG 1 /* whether we are doing DEBUG */
37 37
38 #ifdef _WIN32 38 #ifdef _WIN32
39 const char *qq_win32_buddy_icon_dir(void); 39 const char *qq_win32_buddy_icon_dir(void);
40 #define QQBUDDYICONDIR qq_win32_buddy_icon_dir() 40 #define QQ_BUDDY_ICON_DIR qq_win32_buddy_icon_dir()
41 #endif 41 #endif
42 42
43 typedef struct _qq_data qq_data; 43 typedef struct _qq_data qq_data;
44 typedef struct _qq_buddy qq_buddy; 44 typedef struct _qq_buddy qq_buddy;
45 45
53 guint16 port; 53 guint16 port;
54 guint8 status; 54 guint8 status;
55 guint8 flag1; 55 guint8 flag1;
56 guint8 comm_flag; /* details in qq_buddy_list.c */ 56 guint8 comm_flag; /* details in qq_buddy_list.c */
57 guint16 client_version; 57 guint16 client_version;
58 guint8 onlineTime;
59 guint16 level;
60 guint16 timeRemainder;
58 time_t signon; 61 time_t signon;
59 time_t idle; 62 time_t idle;
60 time_t last_refresh; 63 time_t last_refresh;
61 64
62 gint8 role; /* role in group, used only in group->members list */ 65 gint8 role; /* role in group, used only in group->members list */
92 gchar *my_ip; /* my ip address detected by server */ 95 gchar *my_ip; /* my ip address detected by server */
93 guint16 my_port; /* my port detected by server */ 96 guint16 my_port; /* my port detected by server */
94 guint16 my_icon; /* my icon index */ 97 guint16 my_icon; /* my icon index */
95 guint32 all_online; /* the number of online QQ users */ 98 guint32 all_online; /* the number of online QQ users */
96 time_t last_get_online; /* last time send get_friends_online packet */ 99 time_t last_get_online; /* last time send get_friends_online packet */
100 time_t last_get_levels; /* last time send get_buddies_levels packet */
97 101
98 guint8 window[1 << 13]; /* check up for duplicated packet */ 102 guint8 window[1 << 13]; /* check up for duplicated packet */
99 gint sendqueue_timeout; 103 gint sendqueue_timeout;
100 104
101 GaimRoomlist *roomlist; 105 GaimRoomlist *roomlist;