Changeset 61ae52c for protocols/nogaim.h


Ignore:
Timestamp:
2007-04-20T05:19:06Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b0eaa5b
Parents:
d323394c
Message:

Renamed/slightly changed syntax of groupchat callback functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    rd323394c r61ae52c  
    9494};
    9595
    96 /* struct buddy_chat went away and got merged with this. */
    9796struct groupchat {
    9897        struct im_connection *ic;
     
    191190G_MODULE_EXPORT void imcb_ask_add( struct im_connection *ic, char *handle, const char *realname );
    192191
    193 /* Groupchats */
    194 G_MODULE_EXPORT void add_chat_buddy( struct groupchat *b, char *handle );
    195 G_MODULE_EXPORT void remove_chat_buddy( struct groupchat *b, char *handle, char *reason );
    196 G_MODULE_EXPORT void serv_got_chat_invite( struct im_connection *ic, char *handle, char *who, char *msg, GList *data );
    197 G_MODULE_EXPORT struct groupchat *serv_got_joined_chat( struct im_connection *ic, char *handle );
    198 G_MODULE_EXPORT void serv_got_chat_in( struct groupchat *c, char *who, int whisper, char *msg, time_t mtime );
    199 G_MODULE_EXPORT void serv_got_chat_left( struct groupchat *c );
    200 struct groupchat *chat_by_channel( char *channel );
    201 
    202192/* Buddy management */
    203193G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, char *handle, char *group );
     
    212202G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, u_int32_t flags );
    213203
     204/* Groupchats */
     205G_MODULE_EXPORT void imcb_chat_invited( struct im_connection *ic, char *handle, char *who, char *msg, GList *data );
     206G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, char *handle );
     207G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, char *handle );
     208G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason );
     209G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, char *who, char *msg, u_int32_t flags, time_t sent_at );
     210G_MODULE_EXPORT void imcb_chat_removed( struct groupchat *c );
     211struct groupchat *chat_by_channel( char *channel );
     212
    214213/* Actions, or whatever. */
    215214int imc_set_away( struct im_connection *ic, char *away );
Note: See TracChangeset for help on using the changeset viewer.