~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to libpurple/protocols/qq/buddy_list.c

  • Committer: Bazaar Package Importer
  • Author(s): Micah Gersten
  • Date: 2011-04-11 03:27:22 UTC
  • mfrom: (2.3.17 sid)
  • Revision ID: james.westby@ubuntu.com-20110411032722-farsw08i6ouj5dnd
Tags: 1:2.7.11-1ubuntu1
* Merge from Debian unstable (LP: #757146), remaining changes:
  + debian/control:
    - Add libtool and liblaunchpad-integration-dev build depends
    - Bump standards version
    - Relax binary depends on pidgin versions
    - Add pidgin-libnotify as Recommends for pidgin binary
    - Fix description of pidgin binary
    - Don't have libpurple-bin depend on libpurple0
  + debian/libpurple0.symbols: add epoch to appropriate symbols
  + Add debian/patches:
    - 02_lpi.patch
    - 04_let_crasher_for_apport.patch
    - 05_default_to_irc_ubuntu_com.patch
    - 10_docklet_default_off.patch
    - 11_buddy_list_really_show.patch
    - 13_sounds_and_timers.patch
    - 60_1024x600_gtkpounce.c.patch
    - 60_1024x600_gtkprefs.c.patch
  + debian/prefs.xml: add notification prefs
  + debian/rules:
    - Add translation domain to desktop file with gettext
    - Add the launcher for pidgin

* Add configure check for launchpad integration attached to the gtk check since 
  upstream dropped the startup notification check which is where this check was 
  previously
  - update debian/patches/02_lpi.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
} qq_buddy_online;
54
54
 
55
55
/* get a list of online_buddies */
56
 
void qq_request_get_buddies_online(PurpleConnection *gc, guint8 position, guint32 update_class)
 
56
void qq_request_get_buddies_online(PurpleConnection *gc, guint8 position, UPDCLS update_class)
57
57
{
58
58
        guint8 *raw_data;
59
59
        gint bytes = 0;
77
77
 
78
78
/* position starts with 0x0000,
79
79
 * server may return a position tag if list is too long for one packet */
80
 
void qq_request_get_buddies(PurpleConnection *gc, guint16 position, guint32 update_class)
 
80
void qq_request_get_buddies(PurpleConnection *gc, guint16 position, UPDCLS update_class)
81
81
{
82
82
        qq_data *qd;
83
83
        guint8 raw_data[16] = {0};
101
101
}
102
102
 
103
103
/* get all list, buddies & Quns with groupsid support */
104
 
void qq_request_get_buddies_and_rooms(PurpleConnection *gc, guint32 position, guint32 update_class)
 
104
void qq_request_get_buddies_and_rooms(PurpleConnection *gc, guint32 position, UPDCLS update_class)
105
105
{
106
106
        guint8 raw_data[16] = {0};
107
107
        gint bytes = 0;
362
362
        gint bytes;
363
363
        guint8 sub_cmd, reply_code;
364
364
        guint32 unknown, position;
365
 
        guint32 uid;
 
365
        UID uid;
366
366
        guint8 type;
367
367
        qq_room_data *rmd;
368
368
 
455
455
}
456
456
 
457
457
/* send a packet to change my online status */
458
 
void qq_request_change_status(PurpleConnection *gc, guint32 update_class)
 
458
void qq_request_change_status(PurpleConnection *gc, UPDCLS update_class)
459
459
{
460
460
        qq_data *qd;
461
461
        guint8 raw_data[16] = {0};
525
525
{
526
526
        qq_data *qd;
527
527
        gint bytes;
528
 
        guint32 my_uid;
 
528
        UID my_uid;
529
529
        gchar *who;
530
530
        PurpleBuddy *buddy;
531
531
        qq_buddy_data *bd;
583
583
}
584
584
 
585
585
/*TODO: maybe this should be qq_update_buddy_status() ?*/
586
 
void qq_update_buddy_status(PurpleConnection *gc, guint32 uid, guint8 status, guint8 flag)
 
586
void qq_update_buddy_status(PurpleConnection *gc, UID uid, guint8 status, guint8 flag)
587
587
{
588
588
        gchar *who;
589
589
        const gchar *status_id;