Changeset f0cb961 for protocols/nogaim.h


Ignore:
Timestamp:
2007-04-19T06:03:43Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d323394c
Parents:
33dc261
Message:

More API changes: buddy list management. imcb_add_buddy() is now a *real*
callback, it's only called from inside IM-modules. This makes sure a buddy
only gets added to the BitlBee structures if the add was successful. This
gets rid of the weirdness described in #55. Unfortunately for now this
change breaks A) automatic renaming of ICQ contacts (if there are names
stored in the contact list) B) add -tmp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r33dc261 rf0cb961  
    201201
    202202/* Buddy management */
    203 G_MODULE_EXPORT void add_buddy( struct im_connection *ic, char *group, char *handle, char *realname );
    204 G_MODULE_EXPORT struct buddy *find_buddy( struct im_connection *ic, char *handle );
    205 G_MODULE_EXPORT void serv_buddy_rename( struct im_connection *ic, char *handle, char *realname );
     203G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, char *handle, char *group );
     204G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, char *handle, char *group );
     205G_MODULE_EXPORT struct buddy *imcb_find_buddy( struct im_connection *ic, char *handle );
     206G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, char *handle, char *realname );
    206207
    207208/* Buddy activity */
Note: See TracChangeset for help on using the changeset viewer.