Ignore:
Timestamp:
2007-03-28T05:53:11Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0da65d5
Parents:
723e611
Message:

Preparing for Jabber conference room support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r723e611 rfa29d093  
    100100
    101101        /* stuff used just for chat */
    102         GList *in_room;
    103         GList *ignored;
    104         int id;
    105        
    106         /* BitlBee */
    107         struct conversation *next;
    108         char *channel;
    109         char *title;
    110         char joined;
    111         void *data;
     102        GList *in_room;
     103        GList *ignored;
     104       
     105        /* BitlBee */
     106        struct conversation *next;
     107        char *channel;
     108        char *title;
     109        char joined;
     110        void *data;
    112111};
    113112
     
    115114        char name[80];
    116115        char show[BUDDY_ALIAS_MAXLEN];
    117         int present;
     116        int present;
    118117        int evil;
    119118        time_t signon;
    120119        time_t idle;
    121         int uc;
     120        int uc;
    122121        guint caps; /* woohoo! */
    123122        void *proto_data; /* what a hack */
     
    153152       
    154153        /* Group chat stuff. */
    155         void (* join_chat)      (struct gaim_connection *, GList *data);
    156         void (* chat_invite)    (struct gaim_connection *, int id, char *who, char *message);
    157         void (* chat_leave)     (struct gaim_connection *, int id);
    158         int  (* chat_send)      (struct gaim_connection *, int id, char *message);
    159         int  (* chat_open)      (struct gaim_connection *, char *who);
     154        void (* chat_invite)    (struct conversation *, char *who, char *message);
     155        void (* chat_leave)     (struct conversation *);
     156        int  (* chat_send)      (struct conversation *, char *message);
     157        struct conversation *
     158             (* chat_open)      (struct gaim_connection *, char *who);
     159        struct conversation *
     160             (* chat_join)      (struct gaim_connection *, char *chat, char *nick, char *password);
    160161       
    161162        /* DIE! */
     
    183184int bim_set_away( struct gaim_connection *gc, char *away );
    184185int bim_buddy_msg( struct gaim_connection *gc, char *handle, char *msg, int flags );
    185 int bim_chat_msg( struct gaim_connection *gc, int id, char *msg );
     186int bim_chat_msg( struct conversation *c, char *msg );
    186187
    187188void bim_add_allow( struct gaim_connection *gc, char *handle );
     
    224225G_MODULE_EXPORT void show_got_added( struct gaim_connection *gc, char *handle, const char *realname );
    225226
    226 /* server.c */                   
     227/* server.c */
    227228G_MODULE_EXPORT void serv_got_update( struct gaim_connection *gc, char *handle, int loggedin, int evil, time_t signon, time_t idle, int type, guint caps );
    228229G_MODULE_EXPORT void serv_got_im( struct gaim_connection *gc, char *handle, char *msg, guint32 flags, time_t mtime, gint len );
    229230G_MODULE_EXPORT void serv_got_typing( struct gaim_connection *gc, char *handle, int timeout, int type );
    230231G_MODULE_EXPORT void serv_got_chat_invite( struct gaim_connection *gc, char *handle, char *who, char *msg, GList *data );
    231 G_MODULE_EXPORT struct conversation *serv_got_joined_chat( struct gaim_connection *gc, int id, char *handle );
    232 G_MODULE_EXPORT void serv_got_chat_in( struct gaim_connection *gc, int id, char *who, int whisper, char *msg, time_t mtime );
    233 G_MODULE_EXPORT void serv_got_chat_left( struct gaim_connection *gc, int id );
    234 
    235 struct conversation *conv_findchannel( char *channel );
     232G_MODULE_EXPORT struct conversation *serv_got_joined_chat( struct gaim_connection *gc, char *handle );
     233G_MODULE_EXPORT void serv_got_chat_in( struct conversation *c, char *who, int whisper, char *msg, time_t mtime );
     234G_MODULE_EXPORT void serv_got_chat_left( struct conversation *c );
     235
     236struct conversation *chat_by_channel( char *channel );
     237struct conversation *chat_by_id( int id );
    236238
    237239#endif
Note: See TracChangeset for help on using the changeset viewer.