Changeset 03f3828 for protocols/nogaim.h


Ignore:
Timestamp:
2010-07-24T14:06:22Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7989d40d
Parents:
c8791f2
Message:

Adding protocol-specific chatroom settings. First one to use this: AIM
chatrooms to use exchange numbers other than 4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    rc8791f2 r03f3828  
    212212         * not implement this. */
    213213        struct groupchat *
    214              (* chat_join)      (struct im_connection *, const char *room, const char *nick, const char *password);
     214             (* chat_join)      (struct im_connection *, const char *room,
     215                                 const char *nick, const char *password, set_t **sets);
    215216        /* Change the topic, if supported. Note that BitlBee expects the IM
    216217           server to confirm the topic change with a regular topic change
     
    219220        void (* chat_topic)     (struct groupchat *, char *topic);
    220221       
     222        /* If your protocol module needs any special info for joining chatrooms
     223           other than a roomname + nickname, add them here. */
     224        void (* chat_add_settings)      (account_t *acc, set_t **head);
     225        void (* chat_free_settings)     (account_t *acc, set_t **head);
     226       
    221227        /* You can tell what away states your protocol supports, so that
    222228         * BitlBee will try to map the IRC away reasons to them. If your
     
    234240        /* Incoming transfer request */
    235241        void (* transfer_request) (struct im_connection *, file_transfer_t *ft, char *handle );
     242       
     243        /* Some placeholders so eventually older plugins may cooperate with newer BitlBees. */
     244        void *resv1;
     245        void *resv2;
     246        void *resv3;
     247        void *resv4;
     248        void *resv5;
    236249};
    237250
Note: See TracChangeset for help on using the changeset viewer.