Changes in protocols/nogaim.h [3e57660:4cf80bb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r3e57660 r4cf80bb 49 49 50 50 #define WEBSITE "http://www.bitlbee.org/" 51 #define GAIM_AWAY_CUSTOM "Custom" 51 52 52 53 /* Sharing flags between all kinds of things. I just hope I won't hit any … … 217 218 218 219 /* You can tell what away states your protocol supports, so that 219 * BitlBee will try to map the IRC away reasons to them . If your220 * protocol doesn't have any, just return one generic "Away". */220 * BitlBee will try to map the IRC away reasons to them, or use 221 * GAIM_AWAY_CUSTOM when calling skype_set_away(). */ 221 222 GList *(* away_states)(struct im_connection *ic); 222 223 … … 275 276 * user, usually after a login, or if the user added a buddy and the IM 276 277 * server confirms that the add was successful. Don't forget to do this! */ 277 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, c onst char *handle, constchar *group );278 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, c onst char *handle, char *group );278 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, char *handle, char *group ); 279 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, char *handle, char *group ); 279 280 G_MODULE_EXPORT struct buddy *imcb_find_buddy( struct im_connection *ic, char *handle ); 280 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, c onst char *handle, constchar *realname );281 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, c onst char *handle, constchar *nick );281 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, char *handle, char *realname ); 282 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, char *handle, char *nick ); 282 283 283 284 /* Buddy activity */ … … 289 290 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 290 291 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 291 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, c onst char *handle, char *msg, uint32_t flags, time_t sent_at );292 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, char *handle, char *msg, uint32_t flags, time_t sent_at ); 292 293 G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags ); 293 294 G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle ); … … 302 303 * user, too. */ 303 304 G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle ); 304 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, c onst char *handle );305 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, char *handle ); 305 306 /* To remove a handle from a group chat. Reason can be NULL. */ 306 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, c onst char *handle, constchar *reason );307 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason ); 307 308 /* To tell BitlBee 'who' said 'msg' in 'c'. 'flags' and 'sent_at' can be 0. */ 308 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, c onst char *who, char *msg, uint32_t flags, time_t sent_at );309 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, char *who, char *msg, uint32_t flags, time_t sent_at ); 309 310 /* System messages specific to a groupchat, so they can be displayed in the right context. */ 310 311 G_MODULE_EXPORT void imcb_chat_log( struct groupchat *c, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); … … 314 315 315 316 /* Actions, or whatever. */ 316 int imc_ away_send_update( struct im_connection *ic);317 int imc_set_away( struct im_connection *ic, char *away ); 317 318 int imc_buddy_msg( struct im_connection *ic, char *handle, char *msg, int flags ); 318 319 int imc_chat_msg( struct groupchat *c, char *msg, int flags ); … … 324 325 325 326 /* Misc. stuff */ 326 char *set_eval_timezone( set_t *set, char *value );327 327 char *set_eval_away_devoice( set_t *set, char *value ); 328 328 gboolean auto_reconnect( gpointer data, gint fd, b_input_condition cond );
Note: See TracChangeset
for help on using the changeset viewer.