Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar.c @ 29606:0d3145e6b1d6
Change the oscar capabilities variable to be a guint64 everywhere instead
of an enum, which can be 32 bits
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Mar 2010 04:53:49 +0000 |
parents | 3e5bb4e2334c |
children | 59f4012b2b94 |
comparison
equal
deleted
inserted
replaced
29605:ffc1f997cb91 | 29606:0d3145e6b1d6 |
---|---|
69 | 69 |
70 #define AIMHASHDATA "http://pidgin.im/aim_data.php3" | 70 #define AIMHASHDATA "http://pidgin.im/aim_data.php3" |
71 | 71 |
72 #define OSCAR_CONNECT_STEPS 6 | 72 #define OSCAR_CONNECT_STEPS 6 |
73 | 73 |
74 static OscarCapability purple_caps = (OSCAR_CAPABILITY_CHAT | OSCAR_CAPABILITY_BUDDYICON | OSCAR_CAPABILITY_DIRECTIM | | 74 static guint64 purple_caps = |
75 OSCAR_CAPABILITY_SENDFILE | OSCAR_CAPABILITY_UNICODE | OSCAR_CAPABILITY_INTEROPERATE | | 75 OSCAR_CAPABILITY_CHAT |
76 OSCAR_CAPABILITY_SHORTCAPS | OSCAR_CAPABILITY_TYPING | OSCAR_CAPABILITY_ICQSERVERRELAY | OSCAR_CAPABILITY_NEWCAPS | OSCAR_CAPABILITY_XTRAZ); | 76 | OSCAR_CAPABILITY_BUDDYICON |
77 | OSCAR_CAPABILITY_DIRECTIM | |
78 | OSCAR_CAPABILITY_SENDFILE | |
79 | OSCAR_CAPABILITY_UNICODE | |
80 | OSCAR_CAPABILITY_INTEROPERATE | |
81 | OSCAR_CAPABILITY_SHORTCAPS | |
82 | OSCAR_CAPABILITY_TYPING | |
83 | OSCAR_CAPABILITY_ICQSERVERRELAY | |
84 | OSCAR_CAPABILITY_NEWCAPS | |
85 | OSCAR_CAPABILITY_XTRAZ; | |
77 | 86 |
78 static guint8 features_aim[] = {0x01, 0x01, 0x01, 0x02}; | 87 static guint8 features_aim[] = {0x01, 0x01, 0x01, 0x02}; |
79 static guint8 features_icq[] = {0x01, 0x06}; | 88 static guint8 features_icq[] = {0x01, 0x06}; |
80 static guint8 features_icq_offline[] = {0x01}; | 89 static guint8 features_icq_offline[] = {0x01}; |
81 static guint8 ck[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; | 90 static guint8 ck[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; |
671 } | 680 } |
672 | 681 |
673 return g_string_free(cpy, FALSE); | 682 return g_string_free(cpy, FALSE); |
674 } | 683 } |
675 | 684 |
676 static gchar *oscar_caps_to_string(OscarCapability caps) | 685 static gchar *oscar_caps_to_string(guint64 caps) |
677 { | 686 { |
678 GString *str; | 687 GString *str; |
679 const gchar *tmp; | 688 const gchar *tmp; |
680 guint64 bit = 1; | 689 guint64 bit = 1; |
681 | 690 |