Changeset 3d45471


Ignore:
Timestamp:
2015-02-22T14:49:58Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
90adf84
Parents:
5ebff60
Message:

Remove a few stale functions from struct prpl.

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r5ebff60 r3d45471  
    180180        void (* set_away)       (struct im_connection *, char *state, char *message);
    181181        /* Implementing this function is optional. */
    182         void (* get_away)       (struct im_connection *, char *who);
    183         /* Implementing this function is optional. */
    184182        int (* send_typing)    (struct im_connection *, char *who, int flags);
    185183
     
    195193        void (* rem_permit)     (struct im_connection *, char *who);
    196194        void (* rem_deny)       (struct im_connection *, char *who);
    197         /* Doesn't actually have UI hooks. Not used at all, can be removed. */
    198         void (* set_permit_deny)(struct im_connection *);
    199195
    200196        /* Request profile info. Free-formatted stuff, the IM module gives back
    201197           this info via imcb_log(). Implementing these are optional. */
    202198        void (* get_info)       (struct im_connection *, char *who);
    203         /* set_my_name is *DEPRECATED*, not used by the UI anymore. Use the
    204            display_name setting instead. */
    205         void (* set_my_name)    (struct im_connection *, char *name);
    206         void (* set_name)       (struct im_connection *, char *who, char *name);
    207199
    208200        /* Group chat stuff. */
  • protocols/oscar/oscar.c

    r5ebff60 r3d45471  
    19141914}
    19151915
    1916 static void oscar_get_away(struct im_connection *g, char *who)
    1917 {
    1918         struct oscar_data *odata = (struct oscar_data *) g->proto_data;
    1919 
    1920         if (odata->icq) {
    1921                 /** FIXME(wilmer): Hmm, lost the ability to get away msgs here, do we care to get that back?
    1922                 struct buddy *budlight = imcb_find_buddy(g, who);
    1923                 if (budlight)
    1924                         if ((budlight->uc & 0xff80) >> 7)
    1925                                 if (budlight->caps & AIM_CAPS_ICQSERVERRELAY)
    1926                                         aim_send_im_ch2_geticqmessage(odata->sess, who, (budlight->uc & 0xff80) >> 7);
    1927                 */
    1928         } else {
    1929                 aim_getinfo(odata->sess, odata->conn, who, AIM_GETINFO_AWAYMESSAGE);
    1930         }
    1931 }
    1932 
    19331916static void oscar_set_away_aim(struct im_connection *ic, struct oscar_data *od, const char *state, const char *message)
    19341917{
     
    27122695        ret->get_info = oscar_get_info;
    27132696        ret->set_away = oscar_set_away;
    2714         ret->get_away = oscar_get_away;
    27152697        ret->add_buddy = oscar_add_buddy;
    27162698        ret->remove_buddy = oscar_remove_buddy;
Note: See TracChangeset for help on using the changeset viewer.