~lericson/bitlbee/bitlbee-toxik

« back to all changes in this revision

Viewing changes to protocols/nogaim.h

  • Committer: Ludvig Ericson
  • Date: 2008-01-25 16:34:21 UTC
  • mfrom: (181.1.7 bitlbee-mek-ft)
  • Revision ID: toxik@odin.valhall-20080125163421-li93zx1umx6peg8b
MergeĀ bitlbee-mek-ft.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
struct im_connection
68
68
{
69
69
        account_t *acc;
70
 
        u_int32_t flags;
 
70
        uint32_t flags;
71
71
        
72
72
        /* each connection then can have its own protocol-specific data */
73
73
        void *proto_data;
281
281
G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message );
282
282
/* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle );
283
283
/* Call when a handle says something. 'flags' and 'sent_at may be just 0. */
284
 
G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, char *handle, char *msg, u_int32_t flags, time_t sent_at );
285
 
G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, u_int32_t flags );
 
284
G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, char *handle, char *msg, uint32_t flags, time_t sent_at );
 
285
G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags );
286
286
G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle );
287
287
 
288
288
/* Groupchats */
298
298
/* To remove a handle from a group chat. Reason can be NULL. */
299
299
G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason );
300
300
/* To tell BitlBee 'who' said 'msg' in 'c'. 'flags' and 'sent_at' can be 0. */
301
 
G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, char *who, char *msg, u_int32_t flags, time_t sent_at );
 
301
G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, char *who, char *msg, uint32_t flags, time_t sent_at );
 
302
/* System messages specific to a groupchat, so they can be displayed in the right context. */
 
303
G_MODULE_EXPORT void imcb_chat_log( struct groupchat *c, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
302
304
/* To tell BitlBee 'who' changed the topic of 'c' to 'topic'. */
303
305
G_MODULE_EXPORT void imcb_chat_topic( struct groupchat *c, char *who, char *topic, time_t set_at );
304
306
G_MODULE_EXPORT void imcb_chat_free( struct groupchat *c );