Changeset e8c8d00 for protocols/nogaim.h
- Timestamp:
- 2010-03-17T15:15:19Z (14 years ago)
- Branches:
- master
- Children:
- 60e4df3
- Parents:
- 1c3008a (diff), f9928cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r1c3008a re8c8d00 51 51 52 52 #define WEBSITE "http://www.bitlbee.org/" 53 #define GAIM_AWAY_CUSTOM "Custom"54 53 55 54 /* Sharing flags between all kinds of things. I just hope I won't hit any … … 220 219 221 220 /* You can tell what away states your protocol supports, so that 222 * BitlBee will try to map the IRC away reasons to them , or use223 * GAIM_AWAY_CUSTOM when calling skype_set_away(). */221 * BitlBee will try to map the IRC away reasons to them. If your 222 * protocol doesn't have any, just return one generic "Away". */ 224 223 GList *(* away_states)(struct im_connection *ic); 225 224 … … 281 280 * user, usually after a login, or if the user added a buddy and the IM 282 281 * server confirms that the add was successful. Don't forget to do this! */ 283 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, c har *handle,char *group );284 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, c har *handle, char *group );282 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, const char *handle, const char *group ); 283 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, const char *handle, char *group ); 285 284 G_MODULE_EXPORT struct buddy *imcb_find_buddy( struct im_connection *ic, char *handle ); 286 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, c har *handle,char *realname );287 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, c har *handle,char *nick );285 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, const char *handle, const char *realname ); 286 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, const char *handle, const char *nick ); 288 287 289 288 /* Buddy activity */ … … 295 294 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 296 295 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 297 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, c har *handle, char *msg, uint32_t flags, time_t sent_at );296 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at ); 298 297 G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags ); 299 298 G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle ); … … 308 307 * user, too. */ 309 308 G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle ); 310 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, c har *handle );309 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, const char *handle ); 311 310 /* To remove a handle from a group chat. Reason can be NULL. */ 312 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, c har *handle,char *reason );311 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, const char *handle, const char *reason ); 313 312 /* To tell BitlBee 'who' said 'msg' in 'c'. 'flags' and 'sent_at' can be 0. */ 314 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, c har *who, char *msg, uint32_t flags, time_t sent_at );313 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at ); 315 314 /* System messages specific to a groupchat, so they can be displayed in the right context. */ 316 315 G_MODULE_EXPORT void imcb_chat_log( struct groupchat *c, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); … … 320 319 321 320 /* Actions, or whatever. */ 322 int imc_ set_away( struct im_connection *ic, char *away);321 int imc_away_send_update( struct im_connection *ic ); 323 322 int imc_buddy_msg( struct im_connection *ic, char *handle, char *msg, int flags ); 324 323 int imc_chat_msg( struct groupchat *c, char *msg, int flags );
Note: See TracChangeset
for help on using the changeset viewer.