Mercurial > pidgin
comparison libpurple/protocols/qq/qq.h @ 25518:7da3cf2530b7
2009.02.21 - flos <lonicerae(at)gmail.com>
* Added 'qq_strlen' and 'qq_strcmp' funtions in qq.h
* Fixed compiling problems with lower version of GTK+
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Tue, 24 Feb 2009 13:15:34 +0000 |
parents | 7f903e67a995 |
children | f1437342cc0e |
comparison
equal
deleted
inserted
replaced
25517:59ed7712be5e | 25518:7da3cf2530b7 |
---|---|
33 #include "dnssrv.h" | 33 #include "dnssrv.h" |
34 #include "proxy.h" | 34 #include "proxy.h" |
35 #include "roomlist.h" | 35 #include "roomlist.h" |
36 | 36 |
37 #define QQ_KEY_LENGTH 16 | 37 #define QQ_KEY_LENGTH 16 |
38 | |
39 /* steal from kazehakase :) */ | |
40 #define qq_strlen(s) ((s)!=NULL?strlen(s):0) | |
41 #define qq_strcmp(s1,s2) ((s1)!=NULL && (s2)!=NULL?strcmp(s1,s2):0) | |
38 | 42 |
39 typedef struct _qq_data qq_data; | 43 typedef struct _qq_data qq_data; |
40 typedef struct _qq_buddy_data qq_buddy_data; | 44 typedef struct _qq_buddy_data qq_buddy_data; |
41 typedef struct _qq_interval qq_interval; | 45 typedef struct _qq_interval qq_interval; |
42 typedef struct _qq_net_stat qq_net_stat; | 46 typedef struct _qq_net_stat qq_net_stat; |